Networking Forums

Networking Forums > Computer Networking > Linux Networking > Netem with high limit value and memory leaks in 2.4 kernel.

Reply
Thread Tools Display Modes

Netem with high limit value and memory leaks in 2.4 kernel.

 
 
Sergey Prokoshev
Guest
Posts: n/a

 
      04-29-2005, 09:57 AM
Hello.
Recently I made some tests with netem under high load. I used Linux
2.4.30 kernel on 2*Xeon-2.4 box with 2 e1000 NICs, 3G RAM. I
configured netem to add 200 ms delay with 200 ms variation for packets
travelling from one NIC to another.
[root@godzilla linux-2.4.30-highmem]# tc -s qdisc show
qdisc netem 8001: dev eth0 limit 500000 delay 200.0ms 200.0ms
Sent 3072854817148 bytes 1777594601 pkts (dropped 0, overlimits 0)
qdisc netem 8002: dev eth1 limit 500000 delay 200.0ms 200.0ms
Sent 5310 bytes 60 pkts (dropped 0, overlimits 0)

To achieve maximum performance I had to increase limit up to 500000.
Also, I applied patch that allow kernel to use more than 1G RAM
(http://www.kernel.org/pub/linux/kernel/people/andrea/
kernels/v2.4/2.4.23aa1/00_3.5G-address-space-5). Under this
conditions, maximum throughput is approx. 250000 packets/sec (60 byte
packets).
But I noticed that memory reserved by kernel for packets processing
not being freed after removing traffic (same without memory patch
applied).
[root@godzilla linux-2.4.30-highmem]# free -l
total used free shared buffers
cached
Mem: 3105252 2671332 433920 0 117864
340768
Low: 2974244 2542608 431636
High: 131008 128724 2284
-/+ buffers/cache: 2212700 892552
Swap: 2040212 0 2040212

Does anybody know, is it possible to fix this memory leak somehow?
Thanks!
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help - How do I install Netem cpptutor2000@yahoo.com Linux Networking 1 07-30-2008 07:36 PM
tc, netem: Emulating multiple connections, problem with limit on the number of PRIO bands Patrick Reinhardt Linux Networking 1 08-28-2007 06:37 PM
Level One firewall leaks? level13@gmail.com Network Routers 4 04-18-2006 01:48 PM
Less Faster Memory or more Slower Memory? Jim Home Networking 13 01-22-2006 11:30 AM
kernel limit on # of MAC addresses on firewall? --Neighbour Table Overflow Jones Linux Networking 0 09-18-2003 04:34 PM



1 2 3 4 5 6 7 8 9 10 11