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


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Andrey Voloshin                      2:5020/400     26 Oct 2004  20:40:36
 To : Eugene Grosbein
 Subject : Re: Troubles with time speed.
 -------------------------------------------------------------------------------- 
 
 Tue Oct 26 2004 23:25, Eugene Grosbein wrote to Andrey Voloshin:
 
  EG> Reply-To: eugen@grosbein.pp.ru
 
  EG> 26 окт 2004, вторник, в 16:52 KRAST, Andrey Voloshin написал(а):
 
  AV>> Kak eto mogno pofiksit ne uvelichivaya znacheniya HZ; 
 
  EG> Ты уверен, что такой HZ поддерживается?
 
  После пересборки ядра, система работает ;).
 
  А ноги растут от экспериментов с шейпиром DUMMYNET
  уменьшение HZ до 10 дает очень приятные результаты в плане
  работы шейпера. Собсно man dummynet.
 ======================================================================
 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.
 Бо ооочень быстро секунды побежали ;)).
 
  EG> Eugene
  EG> -- 
  EG> "Люди забыли эту истину," - сказал Лис, - "но ты не забывай"
 
 --- 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/1667980b4a47e.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional