LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "Zhang, Yanmin" <yanmin_zhang@linux.intel.com>
To: LKML <linux-kernel@vger.kernel.org>
Subject: Netperf TCP_RR(loopback) 10% regression in 2.6.24-rc6, comparing with 2.6.22
Date: Wed, 09 Jan 2008 17:35:30 +0800 [thread overview]
Message-ID: <1199871330.3298.132.camel@ymzhang> (raw)
The regression is:
1)stoakley with 2 qual-core processors: 11%;
2)Tulsa with 4 dual-core(+hyperThread) processors:13%;
The test command is:
#sudo taskset -c 7 ./netserver
#sudo taskset -c 0 ./netperf -t TCP_RR -l 60 -H 127.0.0.1 -i 50,3 -I 99,5 -- -r 1,1
As a matter of fact, 2.6.23 has about 6% regression and 2.6.24-rc's
regression is between 16%~11%.
I tried to use bisect to locate the bad patch between 2.6.22 and 2.6.23-rc1,
but the bisected kernel wasn't stable and went crazy.
I tried both CONFIG_SLUB=y and CONFIG_SLAB=y to make sure SLUB isn't the
culprit.
The oprofile data of CONFIG_SLAB=y. Top cpu utilizations are:
1) 2.6.22
2067379 9.4888 vmlinux schedule
1873604 8.5994 vmlinux mwait_idle
1568131 7.1974 vmlinux resched_task
1066976 4.8972 vmlinux tcp_v4_rcv
986641 4.5285 vmlinux tcp_rcv_established
979518 4.4958 vmlinux find_busiest_group
767069 3.5207 vmlinux sock_def_readable
736808 3.3818 vmlinux tcp_sendmsg
595889 2.7350 vmlinux task_rq_lock
557193 2.5574 vmlinux tcp_ack
470570 2.1598 vmlinux __mod_timer
392220 1.8002 vmlinux __alloc_skb
358106 1.6436 vmlinux skb_release_data
313372 1.4383 vmlinux skb_clone
2) 2.6.24-rc7
2668426 12.4497 vmlinux vmlinux schedule
955698 4.4589 vmlinux vmlinux skb_release_data
836311 3.9018 vmlinux vmlinux tcp_v4_rcv
762398 3.5570 vmlinux vmlinux skb_release_all
728907 3.4007 vmlinux vmlinux task_rq_lock
705037 3.2894 vmlinux vmlinux __wake_up
694206 3.2388 vmlinux vmlinux __mod_timer
617616 2.8815 vmlinux vmlinux mwait_idle
It looks like tcp in 2.6.22 sends more packets, but frees far less skb than 2.6.24-rc6.
tcp_rcv_established in 2.6.22 is highlighted on cpu utilization.
-yanmin
next reply other threads:[~2008-01-09 9:38 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-09 9:35 Zhang, Yanmin [this message]
2008-01-09 11:48 ` David Miller
2008-01-11 9:30 ` Zhang, Yanmin
2008-01-11 17:56 ` Rick Jones
2008-01-14 3:11 ` Zhang, Yanmin
2008-01-14 17:46 ` Rick Jones
2008-01-14 8:44 ` Ilpo Järvinen
2008-01-14 9:21 ` Ilpo Järvinen
2008-01-14 9:38 ` Zhang, Yanmin
2008-01-14 10:53 ` Herbert Xu
2008-01-16 0:34 ` Zhang, Yanmin
2008-01-16 7:15 ` Zhang, Yanmin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1199871330.3298.132.camel@ymzhang \
--to=yanmin_zhang@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--subject='Re: Netperf TCP_RR(loopback) 10% regression in 2.6.24-rc6, comparing with 2.6.22' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).