|
lug-bg: Shaper desicions
- Subject: lug-bg: Shaper desicions
- From: "raptor@xxxxxxxxxx" <raptor@xxxxxxxxxx>
- Date: Tue, 19 Jul 2005 11:15:38 +0300
- Delivered-to: lug-bg-list@xxxxxxxxxxxxxxxxxx
- Delivered-to: lug-bg@xxxxxxxxxxxxxxxxxx
harduernite routeri sa neprilovimi... stoto pone az ne znam nqkoi
koito da move da prawi tolkowa mnogo kanali kato linux shaper (pone az ne znam)
Ako nqmate wpechatlenie otnosno konfiguraciqta.. nqkoi ima li ideq kolko interrupts per
seconds e normalno za edna mrevowa karta ( w smisal sled kolko irq/s trqbwa da mislq drug wariant)
W momenta pri men sa okolo ~3000irq/s i ~7000irq/s na drugata karta...
Nqkoi s po golqm shaper move li da widi kolko sa pri nego... eto q komandata
watch -n1 cat /proc/interrupts
Iskam da razbera dali ako polzwam NAPI bazirana karta ste ima golqm efekt.
(kakto i ako imate wpechatleniq za nai dobrata eth karta deto poddyrva NAPI, polzwah sysKonnect 1G wgradena
ne se dyrveshe mnogo dobre )
Za merene move da polzwate i toq skript :
#!/bin/bash
COUNTFILE=/tmp/count_interrupts.tmp
currentvalue=$(cat /proc/interrupts | grep eth1 | awk '{print $2}')
echo "current value = $currentvalue"
if [ ! -f $COUNTFILE ]; then
echo $currentvalue > $COUNTFILE
fi
oldvalue=$(cat $COUNTFILE)
echo "previous value = $oldvalue"
diff=$(expr $currentvalue - $oldvalue)
echo $currentvalue > $COUNTFILE
echo "difference = $diff"
|>
|> Определено 2xXeonP4 или 2xOpteron ще е по-добре :) Но нито имам опит с
|> такива машини, нито наблюдения.
|> Но един съвет, ако взимаш Xeon, определено (лично мнение) нямаш нужда
|> от новите 64битовите. Т.е ненужно да си оскъпяваш.
|>
|
|Както сте тръгнали, май ще излезе по ефтино и удачно да ползвате нещо
|такова ;)
|http://www.juniper.net/techpubs/hardware/erx/erx51x/hw-erx-install/html/system-overview4.html
|
-----
http://linuxtoday.com/news_story.php3?ltsn=2004-12-08-004-32-OS-BZ-DT-0005
snip> MS Office is popular in the same way as heart disease is the most popular way to die.
|
|
|