On Tue, Sep 26, 2000 at 09:24:41PM +1100, [EMAIL PROTECTED] wrote:
> As long as a transfer involves 1024 bytes of data (within the nbd
> transfer packet scheme), there is no problem. This happens
> during transfer to "normally" mounted nbd devices.
>
> However, the swap function sends 4096 bytes at a time. You will actually
> get perhaps ten of these transfers working properly, making a total of
> up to four read()'s each to transfer the 4096 byte nbd packet. This is
> transferring the data from the netstation to the server.
I was just doing a but of research on tuning linux for large server
programs and came across this proc file:
/proc/sys/vm/page-cluster
The default value is 4, I'm totally guessing that if you
echo 1 >/proc/sys/vm/page-cluster
it might swap at 1024 bytes at a time. (or one page at a time)
If anyone would like to help me with tuning tips for a server
that may create lots of processes or threads, have lots of files
open, etc, etc, I would be grateful.
--
chesty
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug