Re: BSD 6.1 & polling

From
Oleg Gawriloff (2:450/118)
To
Dmitry Pryanishnikov
Date
2007-01-04T23:05:42Z
Area
RU.UNIX.BSD
Hello, Dmitry!
You wrote to Oleg Gawriloff on Sat, 30 Dec 2006 20:53:18 +0200:

 ??>> interrupt rate. На этом же сервере есть более древние карточки 82558 и
 ??>> 82559 (чипы большие, около 30x30 mm)  - у этих int_delay: 1000 usec,
 ??>> однако bundle_max: 0 (как я понимаю, не умеют они объединять несколько
 ??>> прерываний в одно, а 82550 может до 6 в 1 объединить).
 DP>    Уточнение: у 82559 таки bundle_max: 6, а вот у 82558 - 0.
Кстати:
barzog@eagle:~$sysctl -a | grep fxp
dev.fxp.0.%desc: Intel 82550 Pro/100 Ethernet
dev.fxp.0.%driver: fxp
dev.fxp.0.%location: slot=3 function=0
dev.fxp.0.%pnpinfo: vendor=0x8086 device=0x1229 subvendor=0x8086 
subdevice=0x3410 class=0x020000
dev.fxp.0.%parent: pci0
dev.fxp.0.int_delay: 1000
dev.fxp.0.bundle_max: 6
dev.fxp.0.rnr: 6722
dev.fxp.0.noflow: 1
Что-то вот эти вот int_delay и bundle_max совпадают с твоими (даже при 
отключенном link0). Их дополнительно даже можно крутить.
В http://www.freebsd.org/releases/5.3R/relnotes-alpha.html нашел следующее 
упоминание: fxp(4) now uses the device sysctl tree such as dev.fxp0, and 
those sysctls can be set on a per-device basis. Более подробное изучение 
вопроса дало ссылки: http://www.tel.fer.hr/zec/papers/zec-mikuc-zagar-02.pdf 
и http://people.freebsd.org/~hmp/utilities/satbl_mdoc/hw_sysctlmib.9. Читал 
до полного просветления, крутил параметрами, включал. Не помогло, сразу 
валят ошибки.

With best regards, Oleg Gawriloff. 


--- Microsoft Outlook Express 6.00.2900.3028
 * Origin: Atlant Telecom (2:450/118)
SEEN-BY: 50/12 203 400/814 450/88 118 186 268 1024 451/30 469/418 550/196
SEEN-BY: 4614/20 4635/4 5000/5000 5011/13 5012/46 5015/28 5019/26 5020/40 104
SEEN-BY: 5020/113 154 175 400 545 549 627 758 770 871 950 961 969 976 1068
SEEN-BY: 5020/1127 1159 1175 1201 1297 1452 1523 1581 1590 1604 1630 2009 2142
SEEN-BY: 5020/2238 2395 2424 2450 2590 2871 3274 4441 5480 11200 12000 5021/3
SEEN-BY: 5021/29 5022/128 5025/3 750 5027/12 5029/32 5030/500 556 966 1080
SEEN-BY: 5030/1900 1957 2828 5031/47 70 5035/38 5040/47 5042/13 5045/7 5049/50
SEEN-BY: 5049/97 5054/1 4 8 9 11 28 35 36 37 45 66 67 70 75 84 85 5059/9 37
SEEN-BY: 5062/1 10 5063/3 5064/7 5076/1 5077/70 5080/80 1003 5082/6 5083/21
SEEN-BY: 5084/9 5085/13 5090/108 5094/4 5095/20 5096/18 5099/11 6001/10
PATH: 450/118 5020/758 4441 545 5054/1 37