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


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Slawa Olhovchenkov                   2:5030/500     08 Feb 2004  16:24:44
 To : All
 Subject : sendfile again
 -------------------------------------------------------------------------------- 
 
 
 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
 
 ... Автомат работает так: раз, два, три - и вас нет!
 --- GoldED+/BSD 1.1.5
  * Origin:  (2:5030/500)
 
 

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

 Тема:    Автор:    Дата:  
 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/222140262ae4.html, оценка 1 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional