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


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Slawa Olhovchenkov                   2:5030/500     09 Jun 2005  17:06:56
 To : All
 Subject : Вести с полей
 -------------------------------------------------------------------------------- 
 
 
 jeff        2005-06-08 20:26:06 UTC
 
   FreeBSD src repository
 
   Modified files:
     sys/kern             vfs_bio.c
   Log:
    - Under heavy IO load the buf daemon can run for many hundereds of
      milliseconds due to what is essentially n^2 algorithmic complexity.  This
      change makes the algorithm N*2 instead.  This heavy processing manifested
      itself as skipping in audio and video playback due to the long scheduling
      latencies and contention on giant by pcm.
    - flushbufqueues() is now responsible for flushing multiple buffers
      rather than one at a time.  This allows us to save our progress in the
      list by using a sentinal.  We must do the numdirtywakeup() and
      waitrunningbufspace() here now rather than in buf_daemon().
    - Also add a uio_yield() after we have processed the list once for bufs
      without deps and again for bufs with deps.  This is to release Giant
      and allow any other giant locked code to proceed.
 
   Tested by:      Many users on current@
   Revealed by:    schedgraph traces sent by Emil Mikulic & Anthony Ginepro
 ... Объявление: "Лечу от запоев, ожиpения и Интеpнет. Бабка Меланья."
 --- GoldED+/BSD 1.1.5
  * Origin:  (2:5030/500)
 
 

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

 Тема:    Автор:    Дата:  
 Вести с полей   Slawa Olhovchenkov   09 Jun 2005 17:06:56 
 Re: Вести с полей   Eugene Kilachkoff   10 Jun 2005 11:34:23 
 Вести с полей   Slawa Olhovchenkov   10 Jun 2005 12:13:40 
 Вести с полей   Slawa Olhovchenkov   10 Jun 2005 18:56:28 
Архивное /ru.unix.bsd/222142a83f0d.html, оценка 1 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional