From owner-freebsd-net@FreeBSD.ORG Tue Aug 23 03:50:16 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24A0216A41F; Tue, 23 Aug 2005 03:50:16 +0000 (GMT) (envelope-from david.mao@thomson.net) Received: from dmzraw4.extranet.tce.com (dmzraw4.extranet.tce.com [157.254.234.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7696843D48; Tue, 23 Aug 2005 03:50:15 +0000 (GMT) (envelope-from david.mao@thomson.net) Received: from indyvss4.am.thmulti.com (unknown [157.254.92.63]) by dmzraw4.extranet.tce.com (Postfix) with ESMTP id CAD67AE8; Tue, 23 Aug 2005 03:50:14 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by indyvss4.am.thmulti.com (Postfix) with ESMTP id 4EB791DB8D; Tue, 23 Aug 2005 03:48:00 +0000 (GMT) Received: from indyvss4.am.thmulti.com ([127.0.0.1]) by localhost (indyvss4 [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25052-01-54; Tue, 23 Aug 2005 03:47:58 +0000 (GMT) Received: from smtprelay2.indy.tce.com (smtprelay2.indy.tce.com [157.254.96.95]) by indyvss4.am.thmulti.com (Postfix) with ESMTP id 5DE4D1DB97; Tue, 23 Aug 2005 03:47:58 +0000 (GMT) Received: from boulsmailbh02.eu.thmulti.com (localhost [127.0.0.1]) by smtprelay2.indy.tce.com (8.12.9/8.12.8) with ESMTP id j7N3oAgt026822; Tue, 23 Aug 2005 03:50:11 GMT Received: from tahksmail02.ap.thmulti.com ([141.11.12.26]) by boulsmailbh02.eu.thmulti.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 23 Aug 2005 05:50:10 +0200 Received: from tahksmail01.ap.thmulti.com ([141.11.13.38]) by tahksmail02.ap.thmulti.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 23 Aug 2005 11:49:59 +0800 Received: from bjngsmail01.ap.thmulti.com ([10.11.70.35]) by tahksmail01.ap.thmulti.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 23 Aug 2005 11:49:58 +0800 content-class: urn:content-classes:message MIME-Version: 1.0 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Date: Tue, 23 Aug 2005 11:49:56 +0800 Message-ID: <31021C278A7A6B4AB95E9A085C3552180FF7C5@bjngsmail01> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: polling in 4.11 vs 5.4 Thread-Index: AcWnlbkoaz+XPRoeTBeeCJZ2nOm7kQ== From: "Mao Shou Yan" To: , X-OriginalArrivalTime: 23 Aug 2005 03:49:58.0717 (UTC) FILETIME=[BB791ED0:01C5A795] X-Virus-Scanned: amavisd-new at thomson.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: polling in 4.11 vs 5.4 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Aug 2005 03:50:16 -0000 Hi, everybody, =20 I hope this is the right place that I post to! =20 When I enabled polling in 5.4 and 4.11, I found that CPU load in 5.4 is much higher than 4.11. For example, suppose HZ is 5000, in 5.4 the idle CPU is about 87%, but in 4.11, the idle CPU is about 99.9%. Is this right? Or the statistic is wrong in 4.11? BTW, ACPI is disabled under 5.4. BTW, I found that context switch in 5.4 is much higher than 5.4 while enabling polling. (Using systat -vmstat 1) I'm looking forward your reply. Any response is welcome! =20 =20 =20 David.Mao =20 =20