[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] could xenlinux outperform linux on connection latency benchmark?


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Fengzhe Zhang" <fengzhe.zhang@xxxxxxxxx>
  • Date: Wed, 8 Aug 2007 02:19:44 +0800
  • Delivery-date: Tue, 07 Aug 2007 11:17:15 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=qXzb6EUa0XKvdOJfQ0TyNPN9/IIEzOUedmlj1ddWJ12GiUk53mzJ5CwEfss9uPXzXPXC9mJb6wsbgLxCQUwlytHrCy2MlrTwuSvCiwCPdn6eIQpWTXvZrfBZpod0fbK7nulU7ohJdoxjIxCyYjpzdB29YJKeNzxvPV9gMe5otSU=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

hi, all
 
I am doing some benchmarking for opensshd(3.6.1) connection latency, and Xenlinux outperforms Linux.
Xenlinux got connection time about 320ms and Linux got about 350ms.
This doesn't make sense to me, and i failed to find out why.
 
The PC i use is two ordinary Pentium4, with 1GB memory. and the systems are Xen-3.0.2 and Linux-2.6.16.
 
authentication key of the client system is copied to sshd server side, so that the client could login without password.
 
the testing script looks like:
 
#!/bin/bash
p_start=`date +%s%N`
start=`expr "$p_start"`
ssh -lppi 10.132.143.42 -p 290 exit
p_finish=`date +%s%N`
finish=`expr "$p_finish"`
duration=`expr "$finish" "-" "$start"`
echo "Use time: ${duration} ns"
 
i tried configuring Linux kernel as close to Xenlinux as possible, e.g., turning off preemption,
using 100Hz, no oprofile support, Pentium Pro processor type, etc.
 
Does it mean that in some aspect Xenlinux could outperform Linux?
 
thanks
 
fred
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.