October 14, 2009 01:44AM
My server is using to download big file(10M~20M each),
when using sendfile on ,if the conn reach 800-1.2k conn/s(limit_rate 150k),
the perfmance get poor,time_starttransfer may be 20~30s.
When I change to sendfile off,output_buffer 1 512k,when conn reach 800-1.2k conn/s,
the performance is better,time_starttransfer<10s,but the NIC IO is limit to 70-80MB/s.
My Env:
Xeon X 2(4 processce X 2),12G RAM,5 SATA as raid0
OS:AS5,Ngnix 0.8.15,
worker_processes 8;
Subject Author Posted

Poor performance of sendfile in high load big file download

arnoldguo October 14, 2009 01:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 314
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready