Skip to contentSkip to conversation

network performance drop heavily in xen 4.0 release

DISCUSSION yingbin wang 7 participants 16 messages Apr 15, 2010 – May 9, 2010 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi:
    I report a Bug !!!  We have just upgraded to xen4.0+kernel2.6.31.13 recently.  however , fond that the network performance drop heavily in dom0  (nearly Reduced by 2/3 vs xen3.4.2+kernel2.6.18.8 ) .

our env :
hardware :
  Intel(R) Xeon(R) CPU           E5520  @ 2.27GHz 01:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
  01:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
compile env and filesystem :
  Redhat AS 5.4

xm info :
-----------------------------------------------------------------
host                   : r02k08015
release                : 2.6.31.13xen
version                : #1 SMP Tue Apr 13 20:38:51 CST 2010 machine                : x86_64
nr_cpus                : 16
nr_nodes               : 2
cores_per_socket       : 4
threads_per_core       : 2
cpu_mhz                : 2266
hw_caps                :
bfebfbff:28100800:00000000:00001b40:009ce3bd:00000000:00000001:00000000 virt_caps              : hvm
total_memory           : 24539
free_memory            : 15596
node_to_cpu            : node0:0,2,4,6,8,10,12,14 node1:1,3,5,7,9,11,13,15 node_to_memory         : node0:3589
                        node1:12007
node_to_dma32_mem      : node0:2584
                        node1:0
max_node_id            : 1
xen_major              : 4
xen_minor              : 0
xen_extra              : .0
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000 xen_changeset          : unavailable
xen_commandline        : dom0_mem=10240M
cc_compiler            : gcc version 4.1.2 20080704 (Red Hat 4.1.2-46) cc_compile_by          : root
cc_compile_domain      :
cc_compile_date        : Tue Apr 13 23:04:16 CST 2010 xend_config_format     : 4
---------------------------------------------------------------------------

test tool:  iperf-2.0.4
command:
[email protected] :      iperf -s [email protected] :      iperf -c 10.250.6.25 -i 1 -t 100

network performance:

xen4.0+kernel2.6.31.13:
[ ID] Interval       Transfer     Bandwidth [  4]  0.0- 9.5 sec    249 MBytes    219 Mbits/sec

xen3.4.2+kernel2.6.18.8:
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-15.0 sec  1.64 GBytes    941 Mbits/sec

BTW ,1 the disk IO performance also reduce from 90MB/s to 60MB/s. 2 the attachment is the dom0 kernel compile config.

Cheers,
wyb

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw
Quoted 4 lines · yingbin wang

    I report a Bug !!!  We have just upgraded to xen4.0+kernel2.6.31.13 recently.  however , fond that the network performance drop heavily in dom0  (nearly Reduced by 2/3 vs xen3.4.2+kernel2.6.18.8 ) .

How does xen4.0+kernel2.6.18.8 perform? The regression is more likely in the dom0 kernel than Xen itself. And you don't *have* to upgrade both.

-- Keir

#3 lore raw

sorry, I forgot to report the performance of xen4.0+kernel2.6.18.8.

xen4.0+kernel2.6.18.8:
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-16.3 sec 1.79 GBytes 941 Mbits/sec

This combination can only meet some of our needs.

the reason why we didn't use 2.6.18.8:
1. Our storage application is base on NBD, which will goto deadlock
on 2.6.18.8 when nbd-client and nbd-server are deployed on the same server.
2. Hard disk frequently offline

so we want to upgrade to kernel2.6.31.
we also try xen4.0+kernel2.6.31.12(gentoo-xen-kernel patch). the performance is acceptable, but blktap2(support VHD) not work. has anybody solve the problem in xen4.0+kernel2.6.31.13?

Cheers,
wyb

2010/4/16 Keir Fraser <[email protected]>:

Quoted 14 lines · yingbin wang
Quoted 5 lines

    I report a Bug !!!  We have just upgraded to xen4.0+kernel2.6.31.13 recently.  however , fond that the network performance drop heavily in dom0  (nearly Reduced by 2/3 vs xen3.4.2+kernel2.6.18.8 ) .

How does xen4.0+kernel2.6.18.8 perform? The regression is more likely in the dom0 kernel than Xen itself. And you don't *have* to upgrade both.

 -- Keir

#4 lore raw
Quoted 6 lines · yingbin wang

sorry, I forgot to report the performance of xen4.0+kernel2.6.18.8.

xen4.0+kernel2.6.18.8:
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-16.3 sec 1.79 GBytes 941 Mbits/sec

Quoted 8 lines

This combination can only meet some of our needs.

the reason why we didn't use 2.6.18.8:
1. Our storage application is base on NBD, which will goto deadlock
on 2.6.18.8 when nbd-client and nbd-server are deployed on the same server.
2. Hard disk frequently offline

Do you have Xen credit scheduler weights properly configured?
http://wiki.xensource.com/xenwiki/XenBestPractices

Quoted 5 lines

so we want to upgrade to kernel2.6.31.
we also try xen4.0+kernel2.6.31.12(gentoo-xen-kernel patch). the performance is acceptable, but blktap2(support VHD) not work. has anybody solve the problem in xen4.0+kernel2.6.31.13?

You could try pvops dom0 kernel from xen/stable-2.6.32.x branch aswell:
http://wiki.xensource.com/xenwiki/XenParavirtOps

-- Pasi

Quoted 23 lines

Cheers,
wyb

2010/4/16 Keir Fraser <[email protected]>:

Quoted 7 lines · yingbin wang
Quoted 5 lines

    I report a Bug !!!  We have just upgraded to xen4.0+kernel2.6.31.13 recently.  however , fond that the network performance drop heavily in dom0  (nearly Reduced by 2/3 vs xen3.4.2+kernel2.6.18.8 ) .

Quoted 7 lines

How does xen4.0+kernel2.6.18.8 perform? The regression is more likely in the dom0 kernel than Xen itself. And you don't *have* to upgrade both.

 -- Keir

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#5 lore raw
In reply to yingbin wang

the problem is solved.

we closed most of the debug config options. a miracle happened. the performance returned to the level before.
we compared the .config of 2.6.18.8 with 2.6.31.13. the differences are the debug options.
I think the default .config in 2.6.31.13 should close the debug options or provide a way to turn off.

thanks all

Cheers,
wyb

2010/4/16 yingbin wang <[email protected]>:

Quoted 78 lines

Hi:
    I report a Bug !!!  We have just upgraded to xen4.0+kernel2.6.31.13 recently.  however , fond that the network performance drop heavily in dom0  (nearly Reduced by 2/3 vs xen3.4.2+kernel2.6.18.8 ) .

our env :
hardware :
  Intel(R) Xeon(R) CPU           E5520  @ 2.27GHz 01:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
  01:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
compile env and filesystem :
  Redhat AS 5.4

xm info :
-----------------------------------------------------------------
host                   : r02k08015
release                : 2.6.31.13xen
version                : #1 SMP Tue Apr 13 20:38:51 CST 2010 machine                : x86_64
nr_cpus                : 16
nr_nodes               : 2
cores_per_socket       : 4
threads_per_core       : 2
cpu_mhz                : 2266
hw_caps                :
bfebfbff:28100800:00000000:00001b40:009ce3bd:00000000:00000001:00000000 virt_caps              : hvm
total_memory           : 24539
free_memory            : 15596
node_to_cpu            : node0:0,2,4,6,8,10,12,14 node1:1,3,5,7,9,11,13,15 node_to_memory         : node0:3589
                        node1:12007
node_to_dma32_mem      : node0:2584
                        node1:0
max_node_id            : 1
xen_major              : 4
xen_minor              : 0
xen_extra              : .0
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000 xen_changeset          : unavailable
xen_commandline        : dom0_mem=10240M
cc_compiler            : gcc version 4.1.2 20080704 (Red Hat 4.1.2-46) cc_compile_by          : root
cc_compile_domain      :
cc_compile_date        : Tue Apr 13 23:04:16 CST 2010 xend_config_format     : 4
---------------------------------------------------------------------------

test tool:  iperf-2.0.4
command:
[email protected] :      iperf -s [email protected] :      iperf -c 10.250.6.25 -i 1 -t 100

network performance:

xen4.0+kernel2.6.31.13:
[ ID] Interval       Transfer     Bandwidth [  4]  0.0- 9.5 sec    249 MBytes    219 Mbits/sec

xen3.4.2+kernel2.6.18.8:
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-15.0 sec  1.64 GBytes    941 Mbits/sec

BTW ,1 the disk IO performance also reduce from 90MB/s to 60MB/s. 2 the attachment is the dom0 kernel compile config.

Cheers,
wyb

#6 lore raw
Quoted 9 lines · yingbin wang

the problem is solved.

we closed most of the debug config options. a miracle happened. the performance returned to the level before.
we compared the .config of 2.6.18.8 with 2.6.31.13. the differences are the debug options.
I think the default .config in 2.6.31.13 should close the debug options or provide a way to turn off.

Could you please post the exact .config options you turned off to fix the problem? I can add that info to the wiki page.

Also can you please post the performance numbers with 2.6.18.8 and pvops dom0 with and without debug? This would be interesting to know.

Thanks!

-- Pasi

Quoted 89 lines

thanks all

Cheers,
wyb

2010/4/16 yingbin wang <[email protected]>:

Quoted 72 lines

Hi:
    I report a Bug !!!  We have just upgraded to xen4.0+kernel2.6.31.13 recently.  however , fond that the network performance drop heavily in dom0  (nearly Reduced by 2/3 vs xen3.4.2+kernel2.6.18.8 ) .

our env :
hardware :
  Intel(R) Xeon(R) CPU           E5520  @ 2.27GHz 01:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
  01:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
compile env and filesystem :
  Redhat AS 5.4

xm info :
-----------------------------------------------------------------
host                   : r02k08015
release                : 2.6.31.13xen
version                : #1 SMP Tue Apr 13 20:38:51 CST 2010 machine                : x86_64
nr_cpus                : 16
nr_nodes               : 2
cores_per_socket       : 4
threads_per_core       : 2
cpu_mhz                : 2266
hw_caps                :
bfebfbff:28100800:00000000:00001b40:009ce3bd:00000000:00000001:00000000 virt_caps              : hvm
total_memory           : 24539
free_memory            : 15596
node_to_cpu            : node0:0,2,4,6,8,10,12,14 node1:1,3,5,7,9,11,13,15 node_to_memory         : node0:3589
                        node1:12007
node_to_dma32_mem      : node0:2584
                        node1:0
max_node_id            : 1
xen_major              : 4
xen_minor              : 0
xen_extra              : .0
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000 xen_changeset          : unavailable
xen_commandline        : dom0_mem=10240M
cc_compiler            : gcc version 4.1.2 20080704 (Red Hat 4.1.2-46) cc_compile_by          : root
cc_compile_domain      :
cc_compile_date        : Tue Apr 13 23:04:16 CST 2010 xend_config_format     : 4
---------------------------------------------------------------------------

test tool:  iperf-2.0.4
command:
[email protected] :      iperf -s [email protected] :      iperf -c 10.250.6.25 -i 1 -t 100

network performance:

xen4.0+kernel2.6.31.13:
[ ID] Interval       Transfer     Bandwidth [  4]  0.0- 9.5 sec    249 MBytes    219 Mbits/sec

xen3.4.2+kernel2.6.18.8:
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-15.0 sec  1.64 GBytes    941 Mbits/sec

Quoted 6 lines

BTW ,1 the disk IO performance also reduce from 90MB/s to 60MB/s. 2 the attachment is the dom0 kernel compile config.

Cheers,
wyb

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#7 lore raw

of course.
the attachment is the dom0 kernel compile config that fix the problem. I don't know the exact config option which cause the problem, so I don't test 2.6.18.8 with debug.you can compare it with the previous config to find the differences.

Here are my test results:

test tool: iperf-2.0.4
command:
[email protected] : iperf -s
[email protected] : iperf -c 10.250.6.25 -i 1 -t 100

network performance:

xen4.0+kernel2.6.31.13(with debug):
[ ID] Interval Transfer Bandwidth
[ 4] 0.0- 9.5 sec 249 MBytes 219 Mbits/sec

xen4.0+kernel2.6.31.13(without debug):
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-100.0 sec 10.7 GBytes 920 Mbits/sec

xen3.4.2+kernel2.6.18.8(without debug):
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-15.0 sec 1.64 GBytes 941 Mbits/sec

xen4.0+kernel2.6.18.8(without debug):
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-16.3 sec 1.79 GBytes 941 Mbits/sec

Cheers,
wyb

2010/4/19 Pasi Kärkkäinen <[email protected]>:

Quoted 14 lines · yingbin wang
Quoted 9 lines

the problem is solved.

we closed most of the debug config options. a miracle happened. the performance returned to the level before.
we compared the .config of 2.6.18.8 with 2.6.31.13. the differences are the debug options.
I think the default .config in 2.6.31.13 should close the debug options or provide a way to turn off.

Could you please post the exact .config options you turned off to fix the problem? I can add that info to the wiki page.

Quoted 97 lines

Also can you please post the performance numbers with 2.6.18.8 and pvops dom0 with and without debug? This would be interesting to know.

Thanks!

-- Pasi

Quoted 89 lines

thanks all

Cheers,
wyb

2010/4/16 yingbin wang <[email protected]>:

Quoted 72 lines

Hi:
    I report a Bug !!!  We have just upgraded to xen4.0+kernel2.6.31.13 recently.  however , fond that the network performance drop heavily in dom0  (nearly Reduced by 2/3 vs xen3.4.2+kernel2.6.18.8 ) .

our env :
hardware :
  Intel(R) Xeon(R) CPU           E5520  @ 2.27GHz 01:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
  01:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
compile env and filesystem :
  Redhat AS 5.4

xm info :
-----------------------------------------------------------------
host                   : r02k08015
release                : 2.6.31.13xen
version                : #1 SMP Tue Apr 13 20:38:51 CST 2010 machine                : x86_64
nr_cpus                : 16
nr_nodes               : 2
cores_per_socket       : 4
threads_per_core       : 2
cpu_mhz                : 2266
hw_caps                :
bfebfbff:28100800:00000000:00001b40:009ce3bd:00000000:00000001:00000000 virt_caps              : hvm
total_memory           : 24539
free_memory            : 15596
node_to_cpu            : node0:0,2,4,6,8,10,12,14 node1:1,3,5,7,9,11,13,15 node_to_memory         : node0:3589
                        node1:12007
node_to_dma32_mem      : node0:2584
                        node1:0
max_node_id            : 1
xen_major              : 4
xen_minor              : 0
xen_extra              : .0
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000 xen_changeset          : unavailable
xen_commandline        : dom0_mem=10240M
cc_compiler            : gcc version 4.1.2 20080704 (Red Hat 4.1.2-46) cc_compile_by          : root
cc_compile_domain      :
cc_compile_date        : Tue Apr 13 23:04:16 CST 2010 xend_config_format     : 4
---------------------------------------------------------------------------

test tool:  iperf-2.0.4
command:
[email protected] :      iperf -s [email protected] :      iperf -c 10.250.6.25 -i 1 -t 100

network performance:

xen4.0+kernel2.6.31.13:
[ ID] Interval       Transfer     Bandwidth [  4]  0.0- 9.5 sec    249 MBytes    219 Mbits/sec

xen3.4.2+kernel2.6.18.8:
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-15.0 sec  1.64 GBytes    941 Mbits/sec

Quoted 6 lines

BTW ,1 the disk IO performance also reduce from 90MB/s to 60MB/s. 2 the attachment is the dom0 kernel compile config.

Cheers,
wyb

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#8 lore raw

Re: Re: network performance drop heavily in xen 4.0 release [SOLVED]

Jeremy: this is interesting. The performance of pvops dom0 seems to be pretty close to 2.6.18-xen with iperf workload!

Yingbin: Thanks for the result.

-- Pasi

Quoted 146 lines · yingbin wang

of course.
the attachment is the dom0 kernel compile config that fix the problem. I don't know the exact config option which cause the problem, so I don't test 2.6.18.8 with debug.you can compare it with the previous config to find the differences.

Here are my test results:

test tool: iperf-2.0.4
command:
[email protected] : iperf -s
[email protected] : iperf -c 10.250.6.25 -i 1 -t 100

network performance:

xen4.0+kernel2.6.31.13(with debug):
[ ID] Interval Transfer Bandwidth
[ 4] 0.0- 9.5 sec 249 MBytes 219 Mbits/sec

xen4.0+kernel2.6.31.13(without debug):
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-100.0 sec 10.7 GBytes 920 Mbits/sec

xen3.4.2+kernel2.6.18.8(without debug):
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-15.0 sec 1.64 GBytes 941 Mbits/sec

xen4.0+kernel2.6.18.8(without debug):
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-16.3 sec 1.79 GBytes 941 Mbits/sec

Cheers,
wyb

2010/4/19 Pasi Kärkkäinen <[email protected]>:

Quoted 111 lines · yingbin wang
Quoted 9 lines

the problem is solved.

we closed most of the debug config options. a miracle happened. the performance returned to the level before.
we compared the .config of 2.6.18.8 with 2.6.31.13. the differences are the debug options.
I think the default .config in 2.6.31.13 should close the debug options or provide a way to turn off.

Could you please post the exact .config options you turned off to fix the problem? I can add that info to the wiki page.

Also can you please post the performance numbers with 2.6.18.8 and pvops dom0 with and without debug? This would be interesting to know.

Thanks!

-- Pasi

Quoted 89 lines

thanks all

Cheers,
wyb

2010/4/16 yingbin wang <[email protected]>:

Quoted 72 lines

Hi:
    I report a Bug !!!  We have just upgraded to xen4.0+kernel2.6.31.13 recently.  however , fond that the network performance drop heavily in dom0  (nearly Reduced by 2/3 vs xen3.4.2+kernel2.6.18.8 ) .

our env :
hardware :
  Intel(R) Xeon(R) CPU           E5520  @ 2.27GHz 01:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
  01:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
compile env and filesystem :
  Redhat AS 5.4

xm info :
-----------------------------------------------------------------
host                   : r02k08015
release                : 2.6.31.13xen
version                : #1 SMP Tue Apr 13 20:38:51 CST 2010 machine                : x86_64
nr_cpus                : 16
nr_nodes               : 2
cores_per_socket       : 4
threads_per_core       : 2
cpu_mhz                : 2266
hw_caps                :
bfebfbff:28100800:00000000:00001b40:009ce3bd:00000000:00000001:00000000 virt_caps              : hvm
total_memory           : 24539
free_memory            : 15596
node_to_cpu            : node0:0,2,4,6,8,10,12,14 node1:1,3,5,7,9,11,13,15 node_to_memory         : node0:3589
                        node1:12007
node_to_dma32_mem      : node0:2584
                        node1:0
max_node_id            : 1
xen_major              : 4
xen_minor              : 0
xen_extra              : .0
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000 xen_changeset          : unavailable
xen_commandline        : dom0_mem=10240M
cc_compiler            : gcc version 4.1.2 20080704 (Red Hat 4.1.2-46) cc_compile_by          : root
cc_compile_domain      :
cc_compile_date        : Tue Apr 13 23:04:16 CST 2010 xend_config_format     : 4
---------------------------------------------------------------------------

test tool:  iperf-2.0.4
command:
[email protected] :      iperf -s [email protected] :      iperf -c 10.250.6.25 -i 1 -t 100

network performance:

xen4.0+kernel2.6.31.13:
[ ID] Interval       Transfer     Bandwidth [  4]  0.0- 9.5 sec    249 MBytes    219 Mbits/sec

xen3.4.2+kernel2.6.18.8:
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-15.0 sec  1.64 GBytes    941 Mbits/sec

Quoted 6 lines

BTW ,1 the disk IO performance also reduce from 90MB/s to 60MB/s. 2 the attachment is the dom0 kernel compile config.

Cheers,
wyb

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#9 lore raw
In reply to yingbin wang

I compared the files and the difference is

CONFIG_BLK_DEV_LOOP=m
CONFIG_ATA_PIIX=m
CONFIG_XEN_DEV_EVTCHN=y

in config-2.6.31.13-high performance*.

*
2010/4/24 yingbin wang <[email protected]>

Quoted 150 lines

of course.
the attachment is the dom0 kernel compile config that fix the problem. I don't know the exact config option which cause the problem, so I don't test 2.6.18.8 with debug.you can compare it with the previous config to find the differences.

Here are my test results:

test tool: iperf-2.0.4
command:
[email protected] : iperf -s
[email protected] : iperf -c 10.250.6.25 -i 1 -t 100

network performance:

xen4.0+kernel2.6.31.13(with debug):
[ ID] Interval Transfer Bandwidth
[ 4] 0.0- 9.5 sec 249 MBytes 219 Mbits/sec

xen4.0+kernel2.6.31.13(without debug):
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-100.0 sec 10.7 GBytes 920 Mbits/sec

xen3.4.2+kernel2.6.18.8(without debug):
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-15.0 sec 1.64 GBytes 941 Mbits/sec

xen4.0+kernel2.6.18.8(without debug):
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-16.3 sec 1.79 GBytes 941 Mbits/sec

Cheers,
wyb

2010/4/19 Pasi Kärkkäinen <[email protected]>:

Quoted 11 lines · yingbin wang
Quoted 9 lines

the problem is solved.

we closed most of the debug config options. a miracle happened. the performance returned to the level before.
we compared the .config of 2.6.18.8 with 2.6.31.13. the differences are the debug options.
I think the default .config in 2.6.31.13 should close the debug options or provide a way to turn off.

Quoted 1 line

Could you please post the exact .config options you turned off to fix the

problem?

Quoted 44 lines

I can add that info to the wiki page.

Also can you please post the performance numbers with 2.6.18.8 and pvops dom0 with and without debug? This would be interesting to know.

Thanks!

-- Pasi

Quoted 35 lines

thanks all

Cheers,
wyb

2010/4/16 yingbin wang <[email protected]>:

Quoted 29 lines

Hi:
I report a Bug !!! We have just upgraded to
xen4.0+kernel2.6.31.13 recently. however , fond that the network performance drop heavily in dom0 (nearly Reduced by 2/3 vs xen3.4.2+kernel2.6.18.8 ) .

our env :
hardware :
Intel(R) Xeon(R) CPU E5520 @ 2.27GHz
01:00.0 Ethernet controller: Broadcom Corporation NetXtreme II
BCM5709 Gigabit Ethernet (rev 20)
01:00.1 Ethernet controller: Broadcom Corporation NetXtreme II
BCM5709 Gigabit Ethernet (rev 20)
compile env and filesystem :
Redhat AS 5.4

xm info :
-----------------------------------------------------------------
host : r02k08015
release : 2.6.31.13xen
version : #1 SMP Tue Apr 13 20:38:51 CST 2010
machine : x86_64
nr_cpus : 16
nr_nodes : 2
cores_per_socket : 4
threads_per_core : 2
cpu_mhz : 2266
hw_caps :

bfebfbff:28100800:00000000:00001b40:009ce3bd:00000000:00000001:00000000

Quoted 18 lines
Quoted 18 lines
Quoted 18 lines

virt_caps : hvm
total_memory : 24539
free_memory : 15596
node_to_cpu : node0:0,2,4,6,8,10,12,14

                        node1:1,3,5,7,9,11,13,15
node_to_memory         : node0:3589
                        node1:12007
node_to_dma32_mem      : node0:2584
                        node1:0

max_node_id : 1
xen_major : 4
xen_minor : 0
xen_extra : .0
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler : credit
xen_pagesize : 4096
platform_params : virt_start=0xffff800000000000

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

xen_changeset : unavailable
xen_commandline : dom0_mem=10240M
cc_compiler : gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)
cc_compile_by : root

cc_compile_domain      :
cc_compile_date        : Tue Apr 13 23:04:16 CST 2010
xend_config_format     : 4

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

Quoted 20 lines
Quoted 20 lines
Quoted 20 lines

test tool: iperf-2.0.4
command:
[email protected] : iperf -s
[email protected] : iperf -c 10.250.6.25 -i 1 -t 100

network performance:

xen4.0+kernel2.6.31.13:
[ ID] Interval Transfer Bandwidth
[ 4] 0.0- 9.5 sec 249 MBytes 219 Mbits/sec

xen3.4.2+kernel2.6.18.8:
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-15.0 sec 1.64 GBytes 941 Mbits/sec

BTW ,1 the disk IO performance also reduce from 90MB/s to 60MB/s.
2 the attachment is the dom0 kernel compile config.

Quoted 9 lines
Quoted 8 lines
Quoted 3 lines

Cheers,
wyb

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Quoted 6 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#10 lore raw

which .config you compare with?

2010/4/24 Ronaldo C. A. Chaves <[email protected]>:

Quoted 170 lines

I compared the files and the difference is

CONFIG_BLK_DEV_LOOP=m
CONFIG_ATA_PIIX=m
CONFIG_XEN_DEV_EVTCHN=y

in config-2.6.31.13-high performance.

2010/4/24 yingbin wang <[email protected]>

Quoted 158 lines

of course.
the attachment is the dom0 kernel compile config that fix the problem. I don't know the exact config option which cause the problem, so I don't test 2.6.18.8 with debug.you can compare it with the previous config to find the differences.

Here are my test results:

test tool:  iperf-2.0.4
command:
[email protected] :      iperf -s [email protected] :      iperf -c 10.250.6.25 -i 1 -t 100

network performance:

xen4.0+kernel2.6.31.13(with debug):
[ ID] Interval       Transfer     Bandwidth [  4]  0.0- 9.5 sec    249 MBytes    219 Mbits/sec

xen4.0+kernel2.6.31.13(without debug):
[ ID] Interval       Transfer     Bandwidth [  4]  0.0-100.0 sec  10.7 GBytes    920 Mbits/sec

xen3.4.2+kernel2.6.18.8(without debug):
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-15.0 sec  1.64 GBytes    941 Mbits/sec

xen4.0+kernel2.6.18.8(without debug):
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-16.3 sec  1.79 GBytes    941 Mbits/sec

Cheers,
wyb

2010/4/19 Pasi Kärkkäinen <[email protected]>:

Quoted 15 lines · yingbin wang
Quoted 9 lines

the problem is solved.

we closed most of the debug config options. a miracle happened. the performance returned to the level before.
we compared the .config of 2.6.18.8 with 2.6.31.13. the differences are the debug options.
I think the default .config in 2.6.31.13 should close the debug options or provide a way to turn off.

Could you please post the exact .config options you turned off to fix the problem?
I can add that info to the wiki page.

Quoted 101 lines

Also can you please post the performance numbers with 2.6.18.8 and pvops dom0 with and without debug? This would be interesting to know.

Thanks!

-- Pasi

Quoted 93 lines

thanks all

Cheers,
wyb

2010/4/16 yingbin wang <[email protected]>:

Quoted 76 lines

Hi:
    I report a Bug !!!  We have just upgraded to xen4.0+kernel2.6.31.13 recently.  however , fond that the network performance drop heavily in dom0  (nearly Reduced by 2/3 vs xen3.4.2+kernel2.6.18.8 ) .

our env :
hardware :
  Intel(R) Xeon(R) CPU           E5520  @ 2.27GHz 01:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
  01:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
compile env and filesystem :
  Redhat AS 5.4

xm info :
-----------------------------------------------------------------
host                   : r02k08015
release                : 2.6.31.13xen
version                : #1 SMP Tue Apr 13 20:38:51 CST 2010 machine                : x86_64
nr_cpus                : 16
nr_nodes               : 2
cores_per_socket       : 4
threads_per_core       : 2
cpu_mhz                : 2266
hw_caps                :

bfebfbff:28100800:00000000:00001b40:009ce3bd:00000000:00000001:00000000 virt_caps              : hvm
total_memory           : 24539
free_memory            : 15596
node_to_cpu            : node0:0,2,4,6,8,10,12,14 node1:1,3,5,7,9,11,13,15 node_to_memory         : node0:3589
                        node1:12007
node_to_dma32_mem      : node0:2584
                        node1:0
max_node_id            : 1
xen_major              : 4
xen_minor              : 0
xen_extra              : .0
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000 xen_changeset          : unavailable
xen_commandline        : dom0_mem=10240M
cc_compiler            : gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)
cc_compile_by          : root
cc_compile_domain      :
cc_compile_date        : Tue Apr 13 23:04:16 CST 2010 xend_config_format     : 4

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

test tool:  iperf-2.0.4
command:
[email protected] :      iperf -s [email protected] :      iperf -c 10.250.6.25 -i 1 -t 100

network performance:

xen4.0+kernel2.6.31.13:
[ ID] Interval       Transfer     Bandwidth [  4]  0.0- 9.5 sec    249 MBytes    219 Mbits/sec

xen3.4.2+kernel2.6.18.8:
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-15.0 sec  1.64 GBytes    941 Mbits/sec

Quoted 6 lines

BTW ,1 the disk IO performance also reduce from 90MB/s to 60MB/s. 2 the attachment is the dom0 kernel compile config.

Cheers,
wyb

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#11 lore raw

I compared the config-2.6.31-13xen* *with the config-2.6.31.13-high performance.

2010/4/24 yingbin wang <[email protected]>

Quoted 137 lines

which .config you compare with?

2010/4/24 Ronaldo C. A. Chaves <[email protected]>:

Quoted 104 lines

I compared the files and the difference is

CONFIG_BLK_DEV_LOOP=m
CONFIG_ATA_PIIX=m
CONFIG_XEN_DEV_EVTCHN=y

in config-2.6.31.13-high performance.

2010/4/24 yingbin wang <[email protected]>

Quoted 94 lines

of course.
the attachment is the dom0 kernel compile config that fix the problem. I don't know the exact config option which cause the problem, so I don't test 2.6.18.8 with debug.you can compare it with the previous config to find the differences.

Here are my test results:

test tool: iperf-2.0.4
command:
[email protected] : iperf -s
[email protected] : iperf -c 10.250.6.25 -i 1 -t 100

network performance:

xen4.0+kernel2.6.31.13(with debug):
[ ID] Interval Transfer Bandwidth
[ 4] 0.0- 9.5 sec 249 MBytes 219 Mbits/sec

xen4.0+kernel2.6.31.13(without debug):
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-100.0 sec 10.7 GBytes 920 Mbits/sec

xen3.4.2+kernel2.6.18.8(without debug):
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-15.0 sec 1.64 GBytes 941 Mbits/sec

xen4.0+kernel2.6.18.8(without debug):
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-16.3 sec 1.79 GBytes 941 Mbits/sec

Cheers,
wyb

2010/4/19 Pasi Kärkkäinen <[email protected]>:

Quoted 58 lines · yingbin wang
Quoted 9 lines

the problem is solved.

we closed most of the debug config options. a miracle happened. the performance returned to the level before.
we compared the .config of 2.6.18.8 with 2.6.31.13. the differences are the debug options.
I think the default .config in 2.6.31.13 should close the debug options or provide a way to turn off.

Could you please post the exact .config options you turned off to fix the problem?
I can add that info to the wiki page.

Also can you please post the performance numbers with 2.6.18.8 and pvops dom0 with and without debug? This would be interesting to know.

Thanks!

-- Pasi

Quoted 36 lines

thanks all

Cheers,
wyb

2010/4/16 yingbin wang <[email protected]>:

Quoted 30 lines

Hi:
I report a Bug !!! We have just upgraded to
xen4.0+kernel2.6.31.13 recently. however , fond that the network performance drop heavily in dom0 (nearly Reduced by 2/3 vs xen3.4.2+kernel2.6.18.8 ) .

our env :
hardware :
Intel(R) Xeon(R) CPU E5520 @ 2.27GHz
01:00.0 Ethernet controller: Broadcom Corporation NetXtreme II
BCM5709 Gigabit Ethernet (rev 20)
01:00.1 Ethernet controller: Broadcom Corporation NetXtreme II
BCM5709 Gigabit Ethernet (rev 20)
compile env and filesystem :
Redhat AS 5.4

xm info :
-----------------------------------------------------------------
host : r02k08015
release : 2.6.31.13xen
version : #1 SMP Tue Apr 13 20:38:51 CST 2010
machine : x86_64
nr_cpus : 16
nr_nodes : 2
cores_per_socket : 4
threads_per_core : 2
cpu_mhz : 2266
hw_caps :

bfebfbff:28100800:00000000:00001b40:009ce3bd:00000000:00000001:00000000

Quoted 21 lines
Quoted 21 lines
Quoted 21 lines
Quoted 21 lines
Quoted 21 lines

virt_caps : hvm
total_memory : 24539
free_memory : 15596
node_to_cpu : node0:0,2,4,6,8,10,12,14

                        node1:1,3,5,7,9,11,13,15
node_to_memory         : node0:3589
                        node1:12007
node_to_dma32_mem      : node0:2584
                        node1:0

max_node_id : 1
xen_major : 4
xen_minor : 0
xen_extra : .0
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p
hvm-3.0-x86_32
hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler : credit
xen_pagesize : 4096
platform_params : virt_start=0xffff800000000000
xen_changeset : unavailable
xen_commandline : dom0_mem=10240M

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

cc_compiler : gcc version 4.1.2 20080704 (Red Hat
4.1.2-46)

cc_compile_by          : root
cc_compile_domain      :
cc_compile_date        : Tue Apr 13 23:04:16 CST 2010
xend_config_format     : 4
Quoted 39 lines

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

Quoted 37 lines
Quoted 35 lines
Quoted 20 lines
Quoted 20 lines
Quoted 20 lines

test tool: iperf-2.0.4
command:
[email protected] : iperf -s
[email protected] : iperf -c 10.250.6.25 -i 1 -t 100

network performance:

xen4.0+kernel2.6.31.13:
[ ID] Interval Transfer Bandwidth
[ 4] 0.0- 9.5 sec 249 MBytes 219 Mbits/sec

xen3.4.2+kernel2.6.18.8:
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-15.0 sec 1.64 GBytes 941 Mbits/sec

BTW ,1 the disk IO performance also reduce from 90MB/s to 60MB/s.
2 the attachment is the dom0 kernel compile config.

Quoted 9 lines
Quoted 8 lines
Quoted 3 lines

Cheers,
wyb

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#12 lore raw

Do you mind attaching the config for 2.6.18.8 ? I believe we should be comparing that with "config-2.6.31.13-high performance"

Quoted 19 lines · Ronaldo C. A. Chaves

I compared the config-2.6.31-13xen* *with the config-2.6.31.13-high performance.

2010/4/24 yingbin wang <[email protected] <mailto:[email protected]>>

    which .config you compare with?

    2010/4/24 Ronaldo C. A. Chaves <[email protected]
    <mailto:[email protected]>>:
    > I compared the files and the difference is
    >
    > CONFIG_BLK_DEV_LOOP=m
    > CONFIG_ATA_PIIX=m
    > CONFIG_XEN_DEV_EVTCHN=y
    >
    > in config-2.6.31.13-high performance.
    >
    >
#13 lore raw

Or nevermind... :) The *config-2.6.31-13xen <http://lists.xensource.com/archives/html/xen-devel/2010-04/binpV1aVlN6Wc.bin> you originally posted was the one *with* the performance issue. I was surprised to not see any debug differences.

Quoted 29 lines · *listmail

Do you mind attaching the config for 2.6.18.8 ? I believe we should be comparing that with "config-2.6.31.13-high performance"

Quoted 5 lines · Ronaldo C. A. Chaves

I compared the config-2.6.31-13xen* *with the config-2.6.31.13-high performance.

2010/4/24 yingbin wang <[email protected] <mailto:[email protected]>>

Quoted 14 lines
    which .config you compare with?

    2010/4/24 Ronaldo C. A. Chaves <[email protected]
    <mailto:[email protected]>>:
    > I compared the files and the difference is
    >
    > CONFIG_BLK_DEV_LOOP=m
    > CONFIG_ATA_PIIX=m
    > CONFIG_XEN_DEV_EVTCHN=y
    >
    > in config-2.6.31.13-high performance.
    >
    >

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#14 lore raw

a quick diff between the two (attached file is full diff -u output)

$ grep '^+' xenperf.diff
+++ config-2.6.31.13-high performance    2010-04-24 12:07:04.000000000 -0400
+# Fri Apr 16 13:26:59 2010
+# CONFIG_XEN_DEBUG_FS is not set
+# CONFIG_X86_CPU_DEBUG is not set
+# CONFIG_PM_DEBUG is not set
+# CONFIG_CPU_FREQ_DEBUG is not set
+# CONFIG_CAN_DEBUG_DEVICES is not set
+# CONFIG_CFG80211_DEBUGFS is not set
+CONFIG_BLK_DEV_LOOP=m
+# CONFIG_SCSI_DEBUG is not set
+CONFIG_ATA_PIIX=m
+# CONFIG_DM_DEBUG is not set
+# CONFIG_LIBERTAS_DEBUG is not set
+# CONFIG_ATH5K_DEBUG is not set
+# CONFIG_IWLWIFI_DEBUG is not set
+# CONFIG_B43_DEBUG is not set
+# CONFIG_B43LEGACY_DEBUG is not set
+# CONFIG_RT2X00_LIB_DEBUGFS is not set
+# CONFIG_SND_DEBUG is not set
+# CONFIG_HID_DEBUG is not set
+# CONFIG_USB_SERIAL_DEBUG is not set
+# CONFIG_INFINIBAND_IPOIB_DEBUG_DATA is not set
+CONFIG_XEN_DEV_EVTCHN=y
+# CONFIG_JBD2_DEBUG is not set
+# CONFIG_DLM_DEBUG is not set
+# CONFIG_DEBUG_KERNEL is not set
+# CONFIG_SLUB_DEBUG_ON is not set
+# CONFIG_DYNAMIC_DEBUG is not set
+# CONFIG_DMA_API_DEBUG is not set
+# CONFIG_KEYS_DEBUG_PROC_KEYS is not set
Quoted 34 lines · listmail

Or nevermind... :) The *config-2.6.31-13xen <http://lists.xensource.com/archives/html/xen-devel/2010-04/binpV1aVlN6Wc.bin> you originally posted was the one *with* the performance issue. I was surprised to not see any debug differences.

Quoted 25 lines · *listmail

Do you mind attaching the config for 2.6.18.8 ? I believe we should be comparing that with "config-2.6.31.13-high performance"

Quoted 5 lines · Ronaldo C. A. Chaves

I compared the config-2.6.31-13xen* *with the config-2.6.31.13-high performance.

2010/4/24 yingbin wang <[email protected] <mailto:[email protected]>>

Quoted 14 lines
    which .config you compare with?

    2010/4/24 Ronaldo C. A. Chaves <[email protected]
    <mailto:[email protected]>>:
    > I compared the files and the difference is
    >
    > CONFIG_BLK_DEV_LOOP=m
    > CONFIG_ATA_PIIX=m
    > CONFIG_XEN_DEV_EVTCHN=y
    >
    > in config-2.6.31.13-high performance.
    >
    >
Quoted 4 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Quoted 4 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

$ diff -u config-2.6.31-13xen config-2.6.31.13-high\ performance
--- config-2.6.31-13xen	2010-04-24 12:06:08.000000000 -0400
+++ config-2.6.31.13-high performance	2010-04-24 12:07:04.000000000 -0400
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.31.13
-# Fri Apr  9 01:50:40 2010
+# Fri Apr 16 13:26:59 2010
 #
 CONFIG_64BIT=y
 # CONFIG_X86_32 is not set
@@ -241,7 +241,7 @@
 CONFIG_XEN_TIME_VSYSCALL=y
 CONFIG_XEN_MAX_DOMAIN_MEMORY=32
 CONFIG_XEN_SAVE_RESTORE=y
-CONFIG_XEN_DEBUG_FS=y
+# CONFIG_XEN_DEBUG_FS is not set
 CONFIG_XEN_DOM0=y
 CONFIG_XEN_PRIVILEGED_GUEST=y
 CONFIG_XEN_DOM0_PCI=y
@@ -253,7 +253,6 @@
 # CONFIG_PARAVIRT_SPINLOCKS is not set
 CONFIG_PARAVIRT_CLOCK=y
 CONFIG_PARAVIRT_CLOCK_VSYSCALL=y
-# CONFIG_PARAVIRT_DEBUG is not set
 # CONFIG_MEMTEST is not set
 # CONFIG_M386 is not set
 # CONFIG_M486 is not set
@@ -306,7 +305,6 @@
 CONFIG_SWIOTLB=y
 CONFIG_IOMMU_HELPER=y
 CONFIG_IOMMU_API=y
-# CONFIG_MAXSMP is not set
 CONFIG_NR_CPUS=512
 CONFIG_SCHED_SMT=y
 CONFIG_SCHED_MC=y
@@ -330,7 +328,7 @@
 CONFIG_MICROCODE_OLD_INTERFACE=y
 CONFIG_X86_MSR=y
 CONFIG_X86_CPUID=y
-CONFIG_X86_CPU_DEBUG=m
+# CONFIG_X86_CPU_DEBUG is not set
 CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
 CONFIG_DIRECT_GBPAGES=y
 CONFIG_NUMA=y
@@ -401,15 +399,10 @@
 #
 CONFIG_ARCH_HIBERNATION_HEADER=y
 CONFIG_PM=y
-CONFIG_PM_DEBUG=y
-# CONFIG_PM_VERBOSE is not set
-CONFIG_CAN_PM_TRACE=y
-CONFIG_PM_TRACE=y
-CONFIG_PM_TRACE_RTC=y
+# CONFIG_PM_DEBUG is not set
 CONFIG_PM_SLEEP_SMP=y
 CONFIG_PM_SLEEP=y
 CONFIG_SUSPEND=y
-CONFIG_PM_TEST_SUSPEND=y
 CONFIG_SUSPEND_FREEZER=y
 CONFIG_HIBERNATION_NVS=y
 CONFIG_HIBERNATION=y
@@ -443,7 +436,7 @@
 #
 CONFIG_CPU_FREQ=y
 CONFIG_CPU_FREQ_TABLE=m
-CONFIG_CPU_FREQ_DEBUG=y
+# CONFIG_CPU_FREQ_DEBUG is not set
 CONFIG_CPU_FREQ_STAT=m
 CONFIG_CPU_FREQ_STAT_DETAILS=y
 # CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
@@ -502,7 +495,6 @@
 CONFIG_ARCH_SUPPORTS_MSI=y
 CONFIG_PCI_MSI=y
 CONFIG_PCI_LEGACY=y
-# CONFIG_PCI_DEBUG is not set
 CONFIG_PCI_STUB=y
 CONFIG_HT_IRQ=y
 CONFIG_PCI_IOV=y
@@ -857,12 +849,6 @@
 # CONFIG_IP_DCCP_CCID3_DEBUG is not set
 CONFIG_IP_DCCP_CCID3_RTO=100
 CONFIG_IP_DCCP_TFRC_LIB=y
-
-#
-# DCCP Kernel Hacking
-#
-# CONFIG_IP_DCCP_DEBUG is not set
-CONFIG_NET_DCCPPROBE=m
 CONFIG_IP_SCTP=m
 # CONFIG_SCTP_DBG_MSG is not set
 # CONFIG_SCTP_DBG_OBJCNT is not set
@@ -1010,7 +996,7 @@
 CONFIG_CAN_SJA1000_PLATFORM=m
 CONFIG_CAN_EMS_PCI=m
 CONFIG_CAN_KVASER_PCI=m
-CONFIG_CAN_DEBUG_DEVICES=y
+# CONFIG_CAN_DEBUG_DEVICES is not set
 CONFIG_IRDA=m

#
@@ -1100,7 +1086,7 @@
CONFIG_WIRELESS=y
CONFIG_CFG80211=m
# CONFIG_CFG80211_REG_DEBUG is not set
-CONFIG_CFG80211_DEBUGFS=y
+# CONFIG_CFG80211_DEBUGFS is not set
# CONFIG_WIRELESS_OLD_REGULATORY is not set
CONFIG_WIRELESS_EXT=y
CONFIG_WIRELESS_EXT_SYSFS=y
@@ -1146,8 +1132,6 @@
CONFIG_FW_LOADER=y
# CONFIG_FIRMWARE_IN_KERNEL is not set
CONFIG_EXTRA_FIRMWARE=""
-# CONFIG_DEBUG_DRIVER is not set
-CONFIG_DEBUG_DEVRES=y
CONFIG_SYS_HYPERVISOR=y
CONFIG_CONNECTOR=y
CONFIG_PROC_EVENTS=y
@@ -1328,7 +1312,7 @@
CONFIG_BLK_DEV_DAC960=m
CONFIG_BLK_DEV_UMEM=m
# CONFIG_BLK_DEV_COW_COMMON is not set
-CONFIG_BLK_DEV_LOOP=y
+CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_CRYPTOLOOP=m
CONFIG_BLK_DEV_NBD=m
CONFIG_BLK_DEV_OSD=m
@@ -1480,7 +1464,7 @@
# CONFIG_SCSI_LPFC_DEBUG_FS is not set
CONFIG_SCSI_DC395x=m
CONFIG_SCSI_DC390T=m
-CONFIG_SCSI_DEBUG=m
+# CONFIG_SCSI_DEBUG is not set
CONFIG_SCSI_SRP=m
CONFIG_SCSI_LOWLEVEL_PCMCIA=y
# CONFIG_PCMCIA_FDOMAIN is not set
@@ -1503,7 +1487,7 @@
CONFIG_SATA_SIL24=m
CONFIG_ATA_SFF=y
CONFIG_SATA_SVW=m
-CONFIG_ATA_PIIX=y
+CONFIG_ATA_PIIX=m
CONFIG_SATA_MV=m
CONFIG_SATA_NV=m
CONFIG_PDC_ADMA=m
@@ -1570,7 +1554,7 @@
CONFIG_MD_MULTIPATH=m
CONFIG_MD_FAULTY=m
CONFIG_BLK_DEV_DM=y
-CONFIG_DM_DEBUG=y
+# CONFIG_DM_DEBUG is not set
CONFIG_DM_CRYPT=m
CONFIG_DM_SNAPSHOT=y
CONFIG_DM_MIRROR=y
@@ -1789,7 +1773,7 @@
CONFIG_LIBERTAS_USB=m
CONFIG_LIBERTAS_CS=m
CONFIG_LIBERTAS_SDIO=m
-CONFIG_LIBERTAS_DEBUG=y
+# CONFIG_LIBERTAS_DEBUG is not set
CONFIG_LIBERTAS_THINFIRM=m
CONFIG_LIBERTAS_THINFIRM_USB=m
CONFIG_AIRO=m
@@ -1814,7 +1798,7 @@
CONFIG_P54_LEDS=y
CONFIG_ATH_COMMON=m
CONFIG_ATH5K=m
-CONFIG_ATH5K_DEBUG=y
+# CONFIG_ATH5K_DEBUG is not set
CONFIG_ATH9K=m
# CONFIG_ATH9K_DEBUG is not set
CONFIG_AR9170_USB=m
@@ -1833,8 +1817,7 @@
CONFIG_IWLWIFI=m
CONFIG_IWLWIFI_LEDS=y
CONFIG_IWLWIFI_SPECTRUM_MEASUREMENT=y
-CONFIG_IWLWIFI_DEBUG=y
-CONFIG_IWLWIFI_DEBUGFS=y
+# CONFIG_IWLWIFI_DEBUG is not set
CONFIG_IWLAGN=m
CONFIG_IWL4965=y
CONFIG_IWL5000=y
@@ -1853,14 +1836,13 @@
CONFIG_B43_PIO=y
CONFIG_B43_LEDS=y
CONFIG_B43_HWRNG=y
-CONFIG_B43_DEBUG=y
-# CONFIG_B43_FORCE_PIO is not set
+# CONFIG_B43_DEBUG is not set
CONFIG_B43LEGACY=m
CONFIG_B43LEGACY_PCI_AUTOSELECT=y
CONFIG_B43LEGACY_PCICORE_AUTOSELECT=y
CONFIG_B43LEGACY_LEDS=y
CONFIG_B43LEGACY_HWRNG=y
-CONFIG_B43LEGACY_DEBUG=y
+# CONFIG_B43LEGACY_DEBUG is not set
CONFIG_B43LEGACY_DMA=y
CONFIG_B43LEGACY_PIO=y
CONFIG_B43LEGACY_DMA_AND_PIO_MODE=y
@@ -1883,7 +1865,7 @@
CONFIG_RT2X00_LIB_CRYPTO=y
CONFIG_RT2X00_LIB_RFKILL=y
CONFIG_RT2X00_LIB_LEDS=y
-CONFIG_RT2X00_LIB_DEBUGFS=y
+# CONFIG_RT2X00_LIB_DEBUGFS is not set
# CONFIG_RT2X00_DEBUG is not set
CONFIG_HERMES=m
CONFIG_HERMES_CACHE_FW_ON_INIT=y
@@ -2308,7 +2290,6 @@
#
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
-CONFIG_CONSOLE_POLL=y
CONFIG_SERIAL_JSM=m
CONFIG_UNIX98_PTYS=y
CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
@@ -3141,9 +3122,7 @@
# CONFIG_SND_SUPPORT_OLD_API is not set
CONFIG_SND_VERBOSE_PROCFS=y
CONFIG_SND_VERBOSE_PRINTK=y
-CONFIG_SND_DEBUG=y
-# CONFIG_SND_DEBUG_VERBOSE is not set
-CONFIG_SND_PCM_XRUN_DEBUG=y
+# CONFIG_SND_DEBUG is not set
CONFIG_SND_VMASTER=y
CONFIG_SND_RAWMIDI_SEQ=m
CONFIG_SND_OPL3_LIB_SEQ=m
@@ -3271,7 +3250,7 @@
CONFIG_AC97_BUS=m
CONFIG_HID_SUPPORT=y
CONFIG_HID=y
-CONFIG_HID_DEBUG=y
+# CONFIG_HID_DEBUG is not set
CONFIG_HIDRAW=y

#
@@ -3450,7 +3429,7 @@
CONFIG_USB_SERIAL_OPTION=m
CONFIG_USB_SERIAL_OMNINET=m
CONFIG_USB_SERIAL_OPTICON=m
-CONFIG_USB_SERIAL_DEBUG=m
+# CONFIG_USB_SERIAL_DEBUG is not set

#
# USB Miscellaneous drivers
@@ -3579,7 +3558,7 @@
CONFIG_INFINIBAND_IPOIB=m
CONFIG_INFINIBAND_IPOIB_CM=y
CONFIG_INFINIBAND_IPOIB_DEBUG=y
-CONFIG_INFINIBAND_IPOIB_DEBUG_DATA=y
+# CONFIG_INFINIBAND_IPOIB_DEBUG_DATA is not set
CONFIG_INFINIBAND_SRP=m
CONFIG_INFINIBAND_ISER=m
CONFIG_EDAC=y
@@ -3689,7 +3668,7 @@
#
CONFIG_XEN_BALLOON=y
CONFIG_XEN_SCRUB_PAGES=y
-CONFIG_XEN_DEV_EVTCHN=m
+CONFIG_XEN_DEV_EVTCHN=y
CONFIG_XEN_BACKEND=y
CONFIG_XEN_BLKDEV_BACKEND=y
CONFIG_XEN_BLKDEV_TAP=m
@@ -3813,7 +3792,7 @@
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_JBD2=y
-CONFIG_JBD2_DEBUG=y
+# CONFIG_JBD2_DEBUG is not set
CONFIG_FS_MBCACHE=y
CONFIG_REISERFS_FS=m
# CONFIG_REISERFS_CHECK is not set
@@ -4063,7 +4042,7 @@
CONFIG_NLS_KOI8_U=m
CONFIG_NLS_UTF8=m
CONFIG_DLM=m
-CONFIG_DLM_DEBUG=y
+# CONFIG_DLM_DEBUG is not set

#
# Kernel hacking
@@ -4077,67 +4056,19 @@
CONFIG_UNUSED_SYMBOLS=y
CONFIG_DEBUG_FS=y
CONFIG_HEADERS_CHECK=y
-CONFIG_DEBUG_KERNEL=y
-CONFIG_DEBUG_SHIRQ=y
-CONFIG_DETECT_SOFTLOCKUP=y
-# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
-CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
-CONFIG_DETECT_HUNG_TASK=y
-# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set
-CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0
+# CONFIG_DEBUG_KERNEL is not set
CONFIG_SCHED_DEBUG=y
CONFIG_SCHEDSTATS=y
-CONFIG_TIMER_STATS=y
-CONFIG_DEBUG_OBJECTS=y
-# CONFIG_DEBUG_OBJECTS_SELFTEST is not set
-CONFIG_DEBUG_OBJECTS_FREE=y
-CONFIG_DEBUG_OBJECTS_TIMERS=y
-CONFIG_DEBUG_OBJECTS_ENABLE_DEFAULT=1
-CONFIG_SLUB_DEBUG_ON=y
+# CONFIG_SLUB_DEBUG_ON is not set
# CONFIG_SLUB_STATS is not set
-# CONFIG_DEBUG_KMEMLEAK is not set
-CONFIG_DEBUG_RT_MUTEXES=y
-CONFIG_DEBUG_PI_LIST=y
-# CONFIG_RT_MUTEX_TESTER is not set
-CONFIG_DEBUG_SPINLOCK=y
-CONFIG_DEBUG_MUTEXES=y
-CONFIG_DEBUG_LOCK_ALLOC=y
-CONFIG_PROVE_LOCKING=y
-CONFIG_LOCKDEP=y
-CONFIG_LOCK_STAT=y
-# CONFIG_DEBUG_LOCKDEP is not set
-CONFIG_TRACE_IRQFLAGS=y
-CONFIG_DEBUG_SPINLOCK_SLEEP=y
-# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
CONFIG_STACKTRACE=y
-# CONFIG_DEBUG_KOBJECT is not set
CONFIG_DEBUG_BUGVERBOSE=y
-CONFIG_DEBUG_INFO=y
-CONFIG_DEBUG_VM=y
-# CONFIG_DEBUG_VIRTUAL is not set
-CONFIG_DEBUG_WRITECOUNT=y
CONFIG_DEBUG_MEMORY_INIT=y
-CONFIG_DEBUG_LIST=y
-CONFIG_DEBUG_SG=y
-CONFIG_DEBUG_NOTIFIERS=y
CONFIG_ARCH_WANT_FRAME_POINTERS=y
CONFIG_FRAME_POINTER=y
-CONFIG_BOOT_PRINTK_DELAY=y
-# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_RCU_CPU_STALL_DETECTOR is not set
-# CONFIG_KPROBES_SANITY_TEST is not set
-# CONFIG_BACKTRACE_SELF_TEST is not set
-# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
-# CONFIG_LKDTM is not set
-CONFIG_FAULT_INJECTION=y
-CONFIG_FAILSLAB=y
-CONFIG_FAIL_PAGE_ALLOC=y
-CONFIG_FAIL_MAKE_REQUEST=y
-# CONFIG_FAIL_IO_TIMEOUT is not set
-CONFIG_FAULT_INJECTION_DEBUG_FS=y
CONFIG_LATENCYTOP=y
CONFIG_SYSCTL_SYSCALL_CHECK=y
-# CONFIG_DEBUG_PAGEALLOC is not set
CONFIG_USER_STACKTRACE_SUPPORT=y
CONFIG_NOP_TRACER=y
CONFIG_HAVE_FTRACE_NMI_ENTER=y
@@ -4182,27 +4113,15 @@
CONFIG_PROVIDE_OHCI1394_DMA_INIT=y
# CONFIG_FIREWIRE_OHCI_REMOTE_DMA is not set
CONFIG_BUILD_DOCSRC=y
-CONFIG_DYNAMIC_DEBUG=y
-CONFIG_DMA_API_DEBUG=y
+# CONFIG_DYNAMIC_DEBUG is not set
+# CONFIG_DMA_API_DEBUG is not set
# CONFIG_SAMPLES is not set
CONFIG_HAVE_ARCH_KGDB=y
-CONFIG_KGDB=y
-CONFIG_KGDB_SERIAL_CONSOLE=y
-CONFIG_KGDB_TESTS=y
-# CONFIG_KGDB_TESTS_ON_BOOT is not set
CONFIG_HAVE_ARCH_KMEMCHECK=y
CONFIG_STRICT_DEVMEM=y
# CONFIG_X86_VERBOSE_BOOTUP is not set
CONFIG_EARLY_PRINTK=y
CONFIG_EARLY_PRINTK_DBGP=y
-CONFIG_DEBUG_STACKOVERFLOW=y
-CONFIG_DEBUG_STACK_USAGE=y
-# CONFIG_DEBUG_PER_CPU_MAPS is not set
-CONFIG_X86_PTDUMP=y
-CONFIG_DEBUG_RODATA=y
-CONFIG_DEBUG_RODATA_TEST=y
-CONFIG_DEBUG_NX_TEST=m
-# CONFIG_IOMMU_DEBUG is not set
# CONFIG_IOMMU_STRESS is not set
CONFIG_HAVE_MMIOTRACE_SUPPORT=y
CONFIG_IO_DELAY_TYPE_0X80=0
@@ -4214,15 +4133,13 @@
# CONFIG_IO_DELAY_UDELAY is not set
# CONFIG_IO_DELAY_NONE is not set
CONFIG_DEFAULT_IO_DELAY_TYPE=0
-CONFIG_DEBUG_BOOT_PARAMS=y
-# CONFIG_CPA_DEBUG is not set
CONFIG_OPTIMIZE_INLINING=y

#
# Security options
#
CONFIG_KEYS=y
-CONFIG_KEYS_DEBUG_PROC_KEYS=y
+# CONFIG_KEYS_DEBUG_PROC_KEYS is not set
CONFIG_SECURITY=y
CONFIG_SECURITYFS=y
CONFIG_SECURITY_NETWORK=y

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#15 lore raw
In reply to yingbin wang
Quoted 15 lines · yingbin wang

of course.
the attachment is the dom0 kernel compile config that fix the problem. I don't know the exact config option which cause the problem, so I don't test 2.6.18.8 with debug.you can compare it with the previous config to find the differences.

Here are my test results:

test tool: iperf-2.0.4
command:
[email protected] : iperf -s
[email protected] : iperf -c 10.250.6.25 -i 1 -t 100

network performance:

Quoted 8 lines

xen4.0+kernel2.6.31.13(with debug):
[ ID] Interval Transfer Bandwidth
[ 4] 0.0- 9.5 sec 249 MBytes 219 Mbits/sec

xen4.0+kernel2.6.31.13(without debug):
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-100.0 sec 10.7 GBytes 920 Mbits/sec

How do these compare to running the same 2.6.31.13 kernel native?

Thanks,
J

#16 lore raw

Problem with /etc/init.d/xendomains

In reply to yingbin wang

Dear all,

I have a problem with /etc/init.d/xendomains. It doesn't shut down my DomUs properly any longer.
Having looked into the code, I was able to find some things out, but currently, I have no clue,
how to solve.

I have set everything so that xend will start all DomUs from /etc/xen/auto and all DomUs are shut
Down when shutting down the system. I have in /etc/xen the DomU config files aaa bbb ccc, but I
make links like 10-bbb, 20-ccc, 30-aaa in /etc/xen/auto to start by order. So the DomU config files
I use to start are not the same as the DomU names.

There are some loops around "xm list -l", which are analyzed by parseln in a way, that the string
"(domain" is starting a block, and "(name" and "(domid" are used to identified the domains that
e.g. should be shut down.

Problem could be that the PCI part of "xm list -l" is also returning "(domain" strings, I guess this
Could confuse the mechanism a bit.

Another thing is that it seems the "$1" =~ "\string" doesn't seem to fire for me. I use Debian Lenny
with bash 3.2-4.

I attached the /etc/default/xendomains, which is called by /etc/init.d/xendomains (I have put it in
another place).

BR,
Carsten.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel