From owner-freebsd-net@FreeBSD.ORG Tue Jan 6 02:07:23 2004 Return-Path: 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 1E17416A4D0 for ; Tue, 6 Jan 2004 02:07:23 -0800 (PST) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8A6243D45 for ; Tue, 6 Jan 2004 02:07:19 -0800 (PST) (envelope-from glebius@cell.sick.ru) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.12.9/8.12.8) with ESMTP id i06A7HAB046422 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 6 Jan 2004 13:07:18 +0300 (MSK) (envelope-from glebius@cell.sick.ru) Received: (from glebius@localhost) by cell.sick.ru (8.12.9/8.12.6/Submit) id i06A7HlX046421 for net@freebsd.org; Tue, 6 Jan 2004 13:07:17 +0300 (MSK) Resent-From: Gleb Smirnoff Resent-Date: Tue, 6 Jan 2004 13:07:17 +0300 Resent-Message-ID: <20040106100717.GB46379@cell.sick.ru> Resent-To: net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B066516A4CE for ; Tue, 6 Jan 2004 02:05:20 -0800 (PST) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11CC743D2D for ; Tue, 6 Jan 2004 02:05:19 -0800 (PST) (envelope-from glebius@cell.sick.ru) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.12.9/8.12.8) with ESMTP id i06A5GAB046405 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 6 Jan 2004 13:05:17 +0300 (MSK) (envelope-from glebius@cell.sick.ru) Received: (from glebius@localhost) by cell.sick.ru (8.12.9/8.12.6/Submit) id i06A5Gdn046404 for freeebsd-net@freebsd.org; Tue, 6 Jan 2004 13:05:16 +0300 (MSK) Date: Tue, 6 Jan 2004 13:05:15 +0300 From: Gleb Smirnoff To: freeebsd-net@freebsd.org Message-ID: <20040106100515.GA46379@cell.sick.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline User-Agent: Mutt/1.5.4i Subject: splnet() and time slowing X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 06 Jan 2004 10:07:23 -0000 I have a relatively loaded router with permanent load of ~ 200Kb/s. Its system time is a bit slowed down: Jan 6 10:45:30 gw-f ntpd[274]: time reset 4.212716 s Jan 6 11:00:52 gw-f ntpd[274]: time reset 3.682535 s Jan 6 11:15:50 gw-f ntpd[274]: time reset 2.881445 s Jan 6 11:32:42 gw-f ntpd[274]: time reset 3.130731 s Jan 6 11:49:26 gw-f ntpd[274]: time reset 2.999978 s It has some netgraph nodes with permanent traffic flow thru them. When I insert another node (which is considered to cause even more CPU load ), time I slowed down even more: Jan 6 12:04:39 gw-f ntpd[274]: time reset 16.165271 s Jan 6 12:20:20 gw-f ntpd[274]: time reset 27.880482 s Jan 6 12:37:30 gw-f ntpd[274]: time reset 30.759668 s Jan 6 12:53:19 gw-f ntpd[274]: time reset 27.591937 s Does this mean that spending much time at splnet() causes system clock to slow? Or may be the problem hides somwhere else? -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE