Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Aug 2004 14:34:52 +0200 (CEST)
From:      Martin Blapp <mb@imp.ch>
To:        Jeff Roberson <jroberson@chesapeake.net>
Cc:        Robert Watson <rwatson@freebsd.org>
Subject:   Re: SCHEDULE and high load situations
Message-ID:  <20040812143133.G31181@cvs.imp.ch>
In-Reply-To: <20040812042621.O7322@mail.chesapeake.net>
References:  <Pine.NEB.3.96L.1040811122806.17560G-100000@fledge.watson.org> <20040811200323.B31181@cvs.imp.ch> <20040812042621.O7322@mail.chesapeake.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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 (<STDIN>) {
        $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);
}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040812143133.G31181>