Re: Bug#457384: ITP: netsend -- a speedy filetransfer and network diagnostic program
* brian m. carlson | 2007-12-23 14:26:34 [+0000]:
>Also, madvise(2) is apparently BSD, and even if it's not, it can be
>substituted with posix_madvise(2). So if splice is the only system call
>that isn't portable, it should probably be easy to port.
You scratch the surface! It isn't simple madvice() and splice(): it starts with
TCP_INFO and will end will with obscure[tm] sendfile() flags. Anyway: netsend is
optimized especially for Linux. The FreeBSD network stack works quite well, no
doubt, but we focus on Linux. Thats the name of the game.
So you are right: netsend should be limited in arch.
--
Hagen Paul Pfeifer <hagen@jauu.net> || http://jauu.net/
Telephone: +49 174 5455209 || Key Id: 0x98350C22
Key Fingerprint: 490F 557B 6C48 6D7E 5706 2EA2 4A22 8D45 9835 0C22
Always in motion, the future is.
Reply to: