Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 4 Feb 2002 13:23:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 4 Feb 2002 13:23:49 -0500 Received: from squeaker.ratbox.org ([63.216.218.7]:25607 "EHLO squeaker.ratbox.org") by vger.kernel.org with ESMTP id ; Mon, 4 Feb 2002 13:23:36 -0500 Date: Mon, 4 Feb 2002 13:30:40 -0500 (EST) From: Aaron Sethman To: Darren Smith Cc: "'Andrew Morton'" , "'Dan Kegel'" , "'Vincent Sweeney'" , , , "'Kevin L. Mitchell'" Subject: RE: [Coder-Com] Re: PROBLEM: high system usage / poor SMP network performance In-Reply-To: <000001c1ada7$5ad5cfb0$5c5a1e3e@wilma> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 4 Feb 2002, Darren Smith wrote: > I mean I added a usleep() before the poll in s_bsd.c for the undernet > 2.10.10 code. > > timeout = (IRCD_MIN(delay2, delay)) * 1000; > + usleep(100000); <- New Line > nfds = poll(poll_fds, pfd_count, timeout); Why not just add the additional delay into the poll() timeout? It just seems like you were not doing enough of a delay in poll(). Regards, Aaron - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/