From: "Fengzhe Zhang" Subject: could xenlinux outperform linux on connection latency benchmark? Date: Wed, 8 Aug 2007 02:19:44 +0800 Message-ID: <5bed002e0708071119m7f269520j21e412acf1645cf1@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0925834608==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0925834608== Content-Type: multipart/alternative; boundary="----=_Part_160272_2930418.1186510784260" ------=_Part_160272_2930418.1186510784260 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_160272_2930418.1186510784260 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
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
------=_Part_160272_2930418.1186510784260-- --===============0925834608== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0925834608==--