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


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Andrey Voloshin                      2:5020/400     27 Oct 2004  02:28:31
 To : Alexander S. Usov
 Subject : Re: Troubles with time speed.
 -------------------------------------------------------------------------------- 
 
 Wed Oct 27 2004 01:01, Alexander S. Usov wrote to Andrey Voloshin:
 
  ASU> From: "Alexander S. Usov" <A.S.Usov@kvi.nl>
 
  ASU> Andrey Voloshin wrote:
 
  >> ======================================================================
  >> dummynet performs its task once per timer tick.  The granularity of oper-
  >>      ation is thus controlled by the kernel option
  >>          options HZ
  >>      whose default value (100) means a granularity of 10ms.  For an
  >>      accurate simulation of high data rates it might be necessary to
  >>      reduce the timer
  >>      granularity to 1ms or less.  Consider, however, that some interfaces
  >>      using programmed I/O may require a considerable time to output
  >>      packets. So, reducing the granularity too much might actually cause
  >>      ticks to be missed thus reducing the accuracy of operation.
  >> ======================================================================
  >> Вот в моем случае акурратность работы шейпера только повысилась.
  >> Чуть позжее распишу все подробно, там еще чую куча приколов есть,
  >> а прямо сейчас меня интересубт чего делать с часами если
  >> у меня HZ=10
  >> Пришлось пока вернутся обратно на 100.
  >> Бо ооочень быстро секунды побежали ;)).
 
  ASU> HZ=100   <==>   1/100sec <==> 10ms
  ASU> HZ=1000  <==>  1/1000sec <==>  1ms
 
  ASU> Тебе его увеличивать надо, а не уменьшать ;)
 
  Весь прикол в том, что у меня ща 3 ядра
  hz= 1000,100,10;
 
  Для моих условий лучше всего шейпер работает
  при HZ=10; Увеличение снижает качество.
  Больше дропов, и.т.д.
 
 --- ifmail v.2.15dev5.3
  * Origin: FidoNet Online - http://www.fido-online.com (2:5020/400)
 
 

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

 Тема:    Автор:    Дата:  
 Re: Troubles with time speed.   Andrey Voloshin   26 Oct 2004 20:40:36 
 Re: Troubles with time speed.   Alexander S. Usov   27 Oct 2004 01:01:08 
 Re: Troubles with time speed.   Andrey Voloshin   27 Oct 2004 02:28:31 
 Re: Troubles with time speed.   Constantin Stefanov   27 Oct 2004 11:40:19 
 Re: Troubles with time speed.   Andrey Voloshin   27 Oct 2004 16:26:26 
 Re: Troubles with time speed.   Constantin Stefanov   27 Oct 2004 16:41:10 
 Re: Troubles with time speed.   Andrey Voloshin   27 Oct 2004 17:12:57 
 Re: Troubles with time speed.   Andrey Blochintsev   27 Oct 2004 18:34:22 
 Troubles with time speed.   Andrey Voloshin   01 Nov 2004 04:35:00 
Архивное /ru.unix.bsd/166792a8f376a.html, оценка 1 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional