lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4615726B.4080800@pando.com>
Date:	Thu, 05 Apr 2007 18:04:27 -0400
From:	Yaar Schnitman <yaar@...do.com>
To:	linux-kernel@...r.kernel.org
Cc:	Yaar Schnitman <yaar@...do.com>
Subject: optimizing sendfile

Hi,

How can I control the size of the block requests the sendfile() syscall 
performs
against the disk?

I'm using sendfile (on a 2.6.18 kernel) to copy 1M file chunks into a 
socket. The
socket send buffer size is 2MB, and I verify that its empty before 
making the call.
Indeed, 1M chunk is being sent, but from iostat, I can tell that the 
average request
size is around 128KB. Are there any kernel configuration variables that 
could change that?

Help will be appreciated.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ