optimizing sendfile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

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

I'm using sendfile to copy 1M file chunks into a socket. The socket send buffer
size is 2M, 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 128K.

Help will be appreciated. 


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux