Skocz do zawartości
ppawlo

Problem z shaperdem

Rekomendowane odpowiedzi

Problem z shaperdem!!

 

 

Gdzie mogę znaleźć dokładny opis jego wszystkich opcji ?? Bo mam taki problem. Mam internet 100Mbitowy i diwe karty w linuxie. Normalne transfery na karcie wewnętrznej to 5000kbitów. Jeżeli uruchomię shaperda - to transfer spada do 100kb. (mierzę to programem iptraf).

 

Dlaczego tak moze być - przyznam się , że plik kofiguracyjny robiłem na szybko, ale może mi pomożecie??

 

 

Oto mój konfig

 

------------------------------------------------------------------------------

# timeout of tcp connection on masquerade

# for kernel 2.2.x (in seconds)

# default:

# timeout_ipchains_22=3600

 

# for kernel 2.4.x and ipchains (in minutes)

# default:

# timeout_ipchains_24=7200

 

# for kernel 2.4.x and iptables (in seconds)

# default:

# timeout_iptables_24=432000

 

# older connection on masquerade will be ignored (in seconds)

# default:

# timeout_global=300

 

# experimental - yes - turn on alternative nat tracking connection.

# Work only with nomasq=no

# default:

# alt_natstat=yes

 

# if yes - new user will get as high speed as possible

# default:

# high_start_speed=yes

 

# if yes - don't recreate speed allocation every cycle but only change it

# default:

# continuous_control=yes

 

# if yes - turn on even division

# default:

# even_division=no

 

# measure total of assigned bandwidth

# default:

# check_sum_of_bandwidth=yes

 

# in percent of total bandwidth speed

# default:

# check_download_factor=50

# check_upload_factor=50

check_download_factor=30

check_upload_factor=30

 

# on how many cycles shaperd have control if real speed is great than assigned

# 0 - on every cycle

# don't use 0 for CBQ classes!

# default:

# check_download_factor_cnt=5

# check_upload_factor_cnt=5

check_download_factor_cnt=10

check_upload_factor_cnt=10

 

# (EXPERIMENTAL) if some class crash and will do not control bandwidth then

# shaperd will remove it when check_(down/up)load_factor_cnt=0

# and create again in next cycle.

# default:

# remove_dead_class=no

remove_dead_class=yes

 

# no - will turn off "Can't control bandwidth ..." message

# default:

# control_mesg=yes

 

# if yes - shaperd will cooperate with TOS patched squid

# default:

# squid_support=no

squid_support=yes

 

# squid port

# default:

squid_port=8080

#squid_port=8192

 

# if yes - divide upload traffic

# default:

# divide_upload=no

divide_upload=yes

 

# yes - turning on TOS mangling for every user

# default:

# extended_queue=no

extended_queue=yes

 

# for iptables and large ip_conntrack table or slow servers with a lot of

# users set it to yes

# default:

# nomasq=yes

 

# type of download limiting class

# default:

# class_type=cbq

class_type=htb

 

# type of upload limiting class

# default:

# upload_class_type=cbq

upload_class_type=htb

 

# for HTB only - in percent of assigned bandwidth

# default:

# ceil_download=0

# ceil_upload=0

ceil_download=50

ceil_upload=50

 

# for HTB only - in KB

# default:

# burst_download=100

# burst_upload=100

ceil_download=240

ceil_upload=60

 

# extension of speed

# default:

#speed_ext=bit

speed_ext=Kbit

 

# speed increasing multipler

# default:

# jump_type=0

jump_type=5

 

# if allocation is used less than this percentage factor - shaperd will

# decrease allocation

# default:

# nop_factor=50

nop_factor=60

 

# if allocation is used more than this percentage factor - shaperd will

# increase allocation

# default:

# add_factor=75

add_factor=80

 

debug=0

# default:

# debug_output=/dev/null

#debug_output=/tmp/shaperd.debug

 

# delay between cycles

# default:

# delay=10

 

# no - turn off info messages in log if delay is change

# default:

# delay_mesq=yes

delay_mesg=no

 

# no - turn off "Can't find mask for IP" message

# default:

# mask_mesg=yes

mask_mesg=yes

 

# default:

# write_delay=0

write_delay=1

 

# interface definitions

inter_int=eth0;8;102400;2;0;auto;1

local_int=eth1;102400;192.168.62.0/24;192.168.62.0/24;2

 

 

 

mainip=10.150.1.1

internet_iface=eth0

high_start_speed=1

even_division=0 #1 - ustawia dla wszystkich rowny transfer

check_always=1

 

 

-------------------------------------------------

 

Dzięki za wszystkie rady!!

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Gość
Dodaj odpowiedź do tematu...

×   Wklejono zawartość z formatowaniem.   Przywróć formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

Ładowanie


×
×
  • Dodaj nową pozycję...