Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Oct 2007 23:18:22 +0400
From:      "Artem Kuchin" <matrix@itlegion.ru>
To:        "Matthew Dillon" <dillon@apollo.backplane.com>, "cpghost" <cpghost@cordula.ws>
Cc:        freebsd-stable@freebsd.org, Craig Boston <cb@severious.net>
Subject:   Re: Quation about HZ kernel option
Message-ID:  <007b01c806bb$55c935c0$0c00a8c0@Artem>
References:  <02d401c805cb$abf59ec0$0c00a8c0@Artem><200710041232.l94CWd6W056143@lurza.secnetix.de><20071004143944.GA46491@nowhere><009201c8069d$2f3edc20$0c00a8c0@Artem> <20071004180522.3a724868@epia-2.farid-hajji.net> <200710041852.l94Iq3Db021957@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>    effect.  I would not go under 100, though.  I personally believe
>    that a default of 1000 is ridiculously high, especially on a SMP
> system. 


Nuts! Everybody has his own opinion on this matter.
Any idea how to actually build syntetic but close to real 
benchmark for  this?

For example:
Usual web server does:
1) forks
2) reads a bunch of small files from disk for some time
3) forks some cgi scripts
4) dies

If i write a test in C doing somthing like this and run
very many of then is parallel for, say, 1 hour and then
count how many interation have been done with HZ=100 and
with HZ=1000 will it be a good test for this?

--
Regards
Artem




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007b01c806bb$55c935c0$0c00a8c0>