From: Håvard Bjerke Subject: Interrupt Coalescence Date: Thu, 11 Nov 2004 18:13:49 +0100 Message-ID: <20041111171349.GA25949@idi.ntnu.no> Mime-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org I've found that Interrupt Coalescence (IC) has a detrimental effect on so= me benchmarks with the e1000 driver. So I tried disabling it with the arg= ument "InterruptThrottleRate=3D0,0". This had the wanted effect in native linux, ie. full speed, 116 MB/s. How= ever, in Xen0, disabling IC has the effect of severely reducing bandwidth= down to around 1 MB/s. Turning of IC has the effect that an interrupt is generated from the NIC = for each received or sent MTU (1500 bytes). On a gigabit network this mea= ns that an interrupt may be generated, according to [http://www.pam2004.o= rg/papers/265.pdf], every 12 us. I looked at #interrupts generated with and without IC, and they are ~ 110= 0 and ~ 400 respectively when sending a 2 MB message with ttcp. So I'm trying to explain what's happening. Is Xen slower in handling the = interrupts than native? The CPU is an Intel P4 @ 3400 MHz. Does it need m= ore than 12 us to do a context switch when using Xen? H=E5vard ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click