Re: optimizing sendfile

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

 



Hi Alan,
- Have you tried to use the TCP_CORK feature? According to the
sendpage man page you can use it to fine tune the transmission;
Yes, I tried that, but it didn't change the read sizes.
- Have you tried to increase the sending and receiving output thru'
the SO_SNDBUF and SO_RCVBUF setsockopt parameters?
Yes, I use 2MB send and receive buffer sizes, which is 4x times the size of the read operations I intend to do, but it does not change the file system read sizes either, which are still ~128K.


--
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