throttle removed from FreeBSD ports - alternatives?

Hi all, I am using "throttle" for snapshot backups. It is a small utility reading from stdin and writing to stdout and used to limit the speed (to avoid "hammering" of disks and networks) E.g. "throttle -1M" reads 1 MByte/sec. Unfortunately this utility was removed from the FreeBSD ports. I do not know the background. It is nowhere maintained anymore, it seems (if I get the change log right, it was part of a "bulk retirement commit" in FreeBSD) I am exploring and considering options.. Do you know any alternatives? Regards Peter

On 1 Apr 2014, at 09:30, Peter Ross <Petros.Listig@fdrive.com.au> wrote:
Hi all,
I am using "throttle" for snapshot backups. It is a small utility reading from stdin and writing to stdout and used to limit the speed (to avoid "hammering" of disks and networks)
E.g. "throttle -1M" reads 1 MByte/sec.
pipeviewer (pv) has a rate-limit option as well: http://www.ivarch.com/programs/pv.shtml Though it's primary function is to show how fast the pipe is moving data The page has FreeBSD support listed in FreshPorts hannah

Quoting Peter Ross (Petros.Listig@fdrive.com.au): ['throttle']
Unfortunately this utility was removed from the FreeBSD ports. I do not know the background. It is nowhere maintained anymore, it seems (if I get the change log right, it was part of a "bulk retirement commit" in FreeBSD)
In case you're curious, the reason cited in the 2014-02-10 removal was 'Mark as deprecated unmaintained ports for which no public distfiles are available for part or all the needed distfiles.' http://svnweb.freebsd.org/ports?view=revision&revision=343626 -- Cheers, Cuius testiculos habes, habeas cardia et cerebellum. Rick Moen -- Terry Pratchett, _Small Gods_ rick@linuxmafia.com

"Peter Ross" <Petros.Listig@fdrive.com.au> writes:
E.g. "throttle -1M" reads 1 MByte/sec.
If it's at the file layer, rsync has --bwlimit. For block layer, I tend to just ionice -c3 so that other processes get priority over it. I've never had to care about "overloading" the disk itself. For networks, I rely on current generations of OpenSSH setting the TOS of noninteraction connections to "I'm bulk traffic!", and routers' default qdisc (tc-pfifo_fast) to bucket it accordingly. BUT, for the latter two paragraphs, my results are not optimal :-)
participants (4)
-
hannah commodore
-
Peter Ross
-
Rick Moen
-
trentbuck@gmail.com