Skip to contentSkip to conversation

P4 dual core vs AMD64 dual core with HTB

LARTC foxy 202 4 participants 4 messages Jan 30, 2006

lore
Share & tools
lore

foxy 202

author
#0 lore raw

Hi All,

Please for some advice.

I have Linux router that do traffic control with HTB , routing and traffic counting.
currently machine is with P4 2.2GHZ 1GB RAM. I plan to migrate to dual core CPU. I know well
P4 dual core but is it anybody has experience with AMD64 dual core / or single core / for traffic control . I use Deban Linux for my router. Can I expect problems with HTB and iproute 2 over ATHLON DUAL CORE/BOX or single box ?
Currently my problem is that i have too big system load over CPU / 60-80%/ and packet dropping. at every 15-20sec i have traffic freeze for 1-2sec. when more users are online.

Regards
foxy202

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#1 lore raw

In general the dual core Opterons tend to be a lot faster than the P4 dual cores. But its possible that this has changed since I last saw a performance comparison of the two.
-Paul

Quoted 21 lines · On 1/30/06, foxy 202 <[email protected]> wrote:

Hi All,

Please for some advice.

I have Linux router that do traffic control with HTB , routing and traffic
counting.
currently machine is with P4 2.2GHZ 1GB RAM. I plan to migrate to dual core CPU. I know well
P4 dual core but is it anybody has experience with AMD64 dual core / or single core / for traffic control . I use Deban Linux for my router. Can I expect problems with HTB and iproute 2 over ATHLON DUAL CORE/BOX or single box ?
Currently my problem is that i have too big system load over CPU / 60-80%/ and packet dropping. at every 15-20sec i have traffic freeze for 1-2sec. when more users are online.

Quoted 10 lines

Regards
foxy202

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#2 lore raw
In reply to foxy 202

Hi,

Quoted 12 lines · foxy 202 schrieb:

I have Linux router that do traffic control with HTB , routing and traffic counting.
currently machine is with P4 2.2GHZ 1GB RAM. I plan to migrate to dual core CPU. I know well
P4 dual core but is it anybody has experience with AMD64 dual core / or single core / for traffic control . I use Deban Linux for my router. Can I expect problems with HTB and iproute 2 over ATHLON DUAL CORE/BOX or single box ?
Currently my problem is that i have too big system load over CPU / 60-80%/ and packet dropping. at every 15-20sec i have traffic freeze for 1-2sec. when more users are online.

An Athlon64 3200+ should be sufficient for 200-400 MBit/s in each direction with HTB and traffic accounting. At least it works for me. However, if you start using tcpdump, your CPU usage will go through the roof.

Suggestion: Use oprofile and find out what demands the most performance in your setup, then fix that and retest.

Regards,
Carl-Daniel

Signature · 5 lines
http://www.hailfinger.org/
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
#3 lore raw
In reply to foxy 202
Quoted 4 lines

Hi All,

Please for some advice.

Quoted 8 lines

I have Linux router that do traffic control with HTB , routing and traffic counting.
currently machine is with P4 2.2GHZ 1GB RAM. I plan to migrate to dual core CPU. I know well
P4 dual core but is it anybody has experience with AMD64 dual core / or single core / for traffic control . I use Deban Linux for my router. Can I expect problems with HTB and iproute 2 over ATHLON DUAL CORE/BOX or single box ?

I have dual core p4 (64bit compiled) with hfsc configuration for 4500users CPU load on this machine is about 20% Average with 60Mbit/s traffic

I also want to know did the AMD (Opteron) will be better for such solution like traffic management :)

Quoted 1 line

Currently my problem is that i have too big system load over CPU / 60-80%/

How many users You have ?
How many pps on interfaces ?
How large is traffic load (data) , what kind of traffic ? Did You use hashing filters for traffic management (filtering) ? Is this machine is doing NAT or any of iptables things ?

Quoted 2 lines

and packet dropping. at every 15-20sec i have traffic freeze for 1-2sec. when more users are online.

What type of interfaces You have ?
Did You use NAPI if available ?

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc