----- original Nachricht -------- Betreff: Re: [zfs-discuss] 'zfs recv' is very slow Gesendet: Fr, 14. Nov 2008 Von: Bob Friesenhahn<[EMAIL PROTECTED]>
> On Fri, 14 Nov 2008, Joerg Schilling wrote: > > > > On my first Sun at home (a Sun 2/50 with 1 MB of RAM) in 1986, I could > > set the socket buffer size to 63 kB. 63kB : 1 MB is the same ratio > > as 256 MB : 4 GB. > > > > BTW: a lot of numbers in Solaris did not grow since a long time and > > thus create problems now. Just think about the maxphys values.... > > 63 kB on x86 does not even allow to write a single BluRay disk sector > > with a single transfer. > > Bloating kernel memory is not the right answer. Solaris comes with a > quite effective POSIX threads library (standard since 1996) which > makes it easy to quickly shuttle the data into a buffer in your own > application. One thread deals with the network while the other thread > deals with the device. I imagine that this is what the supreme > mbuffer program is doing. > > Bob Basically, mbuffer just does this - but it additionally has a whole bunch of extra functionality. At least there are people who use it to lengthen the live of their tape drives with the high/low watermark feature... Thomas --- original Nachricht Ende ---- _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss