Re: SCHEDULE and high load situations

From: Martin Blapp <mb_at_imp.ch>
Date: Thu, 12 Aug 2004 14:34:52 +0200 (CEST)
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_at_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);
}
Received on Thu Aug 12 2004 - 10:35:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:05 UTC