Главная страница


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Igor Sysoev                          2:5020/400     09 Feb 2004  17:30:40
 To : Slawa Olhovchenkov
 Subject : Re: sendfile again
 -------------------------------------------------------------------------------- 
 
 Slawa Olhovchenkov <Slawa.Olhovchenkov@f500.n5030.z2.fidonet.org> wrote:
 
 > silby       2004/02/07 23:35:48 PST
 > 
 >   FreeBSD src repository
 > 
 >   Modified files:
 >     sys/kern             uipc_syscalls.c
 >     sys/sys              socket.h
 >   Log:
 >   Add the SF_NODISKIO flag to sendfile.  This flag causes sendfile to be
 >   mindful of blocking on disk I/O and instead return EBUSY when such
 >   blocking would occur.
 > 
 >   Results from the DeBox project indicate that blocking on disk I/O
 >   can slow the performance of a kqueue/poll based webserver.  Using
 >   a flag such as SF_NODISKIO and throwing connections that would block
 >   to helper processes/threads helped increase performance.
 > 
 >   Currently, only the Flash webserver uses this flag, although it could
 >   probably be applied to thttpd with relative ease.
 > 
 >   Idea by:        Yaoping Ruan & Vivek Pai
 
 Хорошая вещь, хотя, конечно, использовать её не так просто.
 -- 
 Игорь Сысоев
 http://sysoev.ru
 --- ifmail v.2.15dev5.3
  * Origin: Demos online service (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 sendfile again   Slawa Olhovchenkov   08 Feb 2004 16:24:44 
 Re: sendfile again   Igor Sysoev   09 Feb 2004 17:30:40 
 sendfile again   Slawa Olhovchenkov   09 Feb 2004 18:27:02 
 Re: sendfile again   Igor Sysoev   10 Feb 2004 00:27:16 
Архивное /ru.unix.bsd/6577c19f7316.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional