From owner-freebsd-current@FreeBSD.ORG Thu Aug 12 12:35:10 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69B9D16A4D0; Thu, 12 Aug 2004 12:35:10 +0000 (GMT) Received: from mx1.imp.ch (mx1.imp.ch [157.161.9.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3ECF643D2F; Thu, 12 Aug 2004 12:35:09 +0000 (GMT) (envelope-from mb@imp.ch) Received: from mx1.imp.ch (mx.imp.ch [157.161.9.64]) by mx1.imp.ch (8.12.11/8.12.11) with ESMTP id i7CCZ0us007019; Thu, 12 Aug 2004 14:35:01 +0200 (CEST) (envelope-from mb@imp.ch) Received: from mx1.imp.ch (localhost [127.0.0.1]) by mx1.imp.ch (8.12.11/8.12.11/Submit) with ESMTP id i7CCYwCd006944; Thu, 12 Aug 2004 14:34:58 +0200 (CEST) (envelope-from mb@imp.ch) Received: (from clamav@localhost) by mx1.imp.ch (8.12.11/8.12.11/Submit) id i7CCYue5006923; Thu, 12 Aug 2004 14:34:56 +0200 (CEST) (envelope-from mb@imp.ch) Received: from cvs.imp.ch (cvs.imp.ch [157.161.4.9]) by ns1.imp.ch (MIMEDefang) with ESMTP id i7CCYqpq040960; Thu, 12 Aug 2004 14:34:56 +0200 (CEST) Date: Thu, 12 Aug 2004 14:34:52 +0200 (CEST) From: Martin Blapp To: Jeff Roberson In-Reply-To: <20040812042621.O7322@mail.chesapeake.net> Message-ID: <20040812143133.G31181@cvs.imp.ch> References: <20040811200323.B31181@cvs.imp.ch> <20040812042621.O7322@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Resent: Yes X-Spam-Checksum: 6106f5af11461863ed9d40209e3f5b96 X-Virus-Message-Status: No X-Virus-Status: No, scantime="0.0066 seconds" X-Spam-Status: No, hits=-5.897 required=5 scantime="4.2512 seconds" tests=BAYES_00,FORGED_RCVD_HELO, SMILEY X-Scanned-By: MIMEDefang 2.44 cc: freebsd-current@freebsd.org cc: Robert Watson Subject: Re: SCHEDULE and high load situations X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Aug 2004 12:35:10 -0000 Hi, > Hi martin. This is a great test. Can you try it with my most recent > change to sched_ule.c? Your version should be 1.21. I found some serious > issues that have been addressed. > > Secondly, what kind of machine is this? Is this test simple to setup so > that I may reproduce it here? This is a IBM X-Series i345 SMP 2CPU 3.1 GHz Xeon Server with 2GB mem each. I used this small script here to load it. I've prepared a shell script which calls this 200 times. The mails are then rotating from sendmail to milter in a 26 times loop which takes almost forever ;-). #!/usr/bin/perl use Net::SMTP; $target_smtp_host = $ARGV[0]; $target_user1 = $ARGV[1]; $target_user2 = $ARGV[2]; while () { $mailmessage .= $_; } $smtp = Net::SMTP->new($target_smtp_host, Hello => 'myhost', Timeout => 10, Debug => 0, ); $smtp->mail('testuser@imp.ch'); $smtp->to($target_user1, $target_user2); $smtp->data(); $smtp->datasend("To: postmaster\n"); $smtp->datasend($mailmessage); $success = $smtp->dataend(); $smtp->quit; if ($success) { print "OK\n"; exit(0); } else { print "NO\n"; exit(1); }