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
======================================
Bob Friesenhahn
[EMAIL PROTECTED], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to