Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: CBQ problem


  • Subject: Re: lug-bg: CBQ problem
  • From: luben@xxxxxxxxxxxxx (Luben Karavelov)
  • Date: Wed, 3 May 2000 22:34:32 +0300



On Wed, May 03, 2000 at 09:46:32PM +0900, Julian Stoev wrote:
> Pisah na lista predi Velikden edin vypros, no lista beshe "v pochivka"
> i maila ne beshe dostaven celi 5 dena!!!! 
> Mene lichno veche mi pisna da pitam zashto lista e baven, a poniakoga
> i ne raboti. Ako list administratora ima zelanie, az mislia, che
> triabva da obiasni tuka kakvo i zashto... I da kazva za takiva neshta
> predvaritelno pone.
> 
> Anyway. Puskam vyprosa otnovo i utochniavam - vyprosa mi e predimno
> kym vseki koito ima opit s ingress trafic shaper. Patch-nah kernel
> 2.2.14 i iproute2 za diff-server, no ne moga da go nakaram da
> ogranichava vhodiashtia potok. Izhodiashtia mu hvanah cakata
> krivo-liavo, no ako niakoi moze da osveti neshtata po-podrobno, mnogo
> shte sym blagodaren.
> 
> V momenta opitvam na tukasnata mashina slednoto: 
> #! /bin/sh -x
> #
> TC=/root/iproute2/tc/tc
> IPCHAINS=/sbin/ipchains
> INDEV=eth0
> NETWORK=147.46.115.0
> NETMASK=255.255.255.0
> #
> ############################################################
> $IPCHAINS -A input -i $INDEV -s ! $NETWORK/$NETMASK -m 1
> ############################################################
> 
> $TC qdisc add dev $INDEV handle ffff: ingress
> 
> ############################################################
> $TC filter add dev $INDEV parent ffff: protocol ip prio 50 handle 1 fw \
> police rate 5kbps burst 40 mtu 9k drop flowid :1
> ############################################################
> 
> 
> Obache nishto ne stava - teglia si sys ftp s 850 kbps :((((
> ipchains markira paketite uspeshno, no rezultata e nula.
> 
> Polzuvam slednite versii
> ftp://lrcftp.epfl.ch/pub/linux/diffserv/dist/ds-8.tar.gz
> Tova e patch za kernela i za iproute 2, koito pyk e slednata versia:
> ftp://ftp.inr.ac.ru/ip-routing/iproute2-2.2.4-now-ss991023.tar.gz
> 
> 
> --JS 
> 

ami ne znam zashto si izbral tochno ingress, az sas tazi queue
discipline ne sam rabotil, no za da ogranichish vhodiashtia traffic
(koeto si mislia che ne mozhesh da napravish direktno) ti triabva da
ogranichish skorostta s koiato se vrustat potvurzhdeniata na TCP. Tyi
che ako iskash traffic 5kbps triabva da napravish ogranichenie za
prashtane kym syotvetnata mrezha okolo 500bps.

mislia taka ponezhe qdisc se attach-vat i sa v sila samo na izhodnia
device. ako burkam neka niakoi me popravi.

Luben

==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora


  • Относно:

 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.