This is not as easy as I thought !

See details on httperf C tool:

For example, httperf is designed to run as a
single-threaded process using non-blocking I/O to
communicate with the server and with one process per
client machine.

http://www.hpl.hp.com/personal/David_Mosberger/httperf/doc004.html
==========================================
3 Design

The two main design goals of httperf were (a)
predictable and good performance and (b) ease of
extensibility. Good performance is achieved by
implementing the tool in C and paying attention to the
performance critical execution paths. Predictability
is improved by relying as little as possible on the
underlying OS. For example, httperf is designed to run
as a single-threaded process using non-blocking I/O to
communicate with the server and with one process per
client machine. With this approach, CPU scheduling is
trivial for the OS which minimizes the risk of
excessive context switching and poor scheduling
decisions. Another example is timeout management:
rather than depending on OS-mechanisms, httperf
implements its own, specialized and light-weight timer
management facility that avoids expensive system calls
and POSIX signal delivery wherever possible. 
 

--- Adrian <[EMAIL PROTECTED]> escribi�: > I tried it
myself, but my results didn`t quite jive.
> They were much slower
> than expected. I believe  it was because i was
> reading the pages. I think a
> better methodology would be to send a request for a
> page but not to process
> it. Instead of trying to spawn new processes inside
> of REBOL I did an shell
> script to repeatly call REBOL on the command line
> with a script. I`m willing
> to work with you to develop a better way. Anyone
> else got a better idea ?
> 
> 
> ----- Original Message -----
> From: "jose" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, June 05, 2002 10:58 AM
> Subject: [REBOL] client script to measure server
> performance: ideas ?
> 
> 
> > What I would like to do is to spawn multiple rebol
> > processes that try to read a page from a local
> Apache
> > server.
> >
> > If I can control the number of processes to spawn
> > using "launch" and measure the response time of
> each
> > read then I could measure the server's response
> time
> > as a function of the number of simultaneous reads.
> >
> > Does anybody have any ideas or experience using
> launch
> > ?
> > What is the launch/link url for ?
> >
> > Thanks
> > Jose
> >
> >
>
_______________________________________________________________
> > Copa del Mundo de la FIFA 2002
> > El �nico lugar de Internet con v�deos de los 64
> partidos.
> > �Ap�ntante ya! en
> http://fifaworldcup.yahoo.com/fc/es/
> > --
> > To unsubscribe from this list, please send an
> email to
> > [EMAIL PROTECTED] with "unsubscribe" in the
> > subject, without the quotes.
> >
> 
> 
> 
> --
> Prendi GRATIS l'email universale che... risparmia:
> http://www.email.it/f
> 
> Sponsor:
> Il modo pi� semplice e conveniente per mandare
> bouquet e composizioni floreali in tutta Italia.
> Rapporto personalizzato con il Tuo fiorista, ad i
> prezzi pi� bassi del Web.
> La qualit� � garantita!
> 
> Clicca qui:
>
http://adv2.email.it/cgi-bin/foclick.cgi?mid=367&d=5-6
> -- 
> To unsubscribe from this list, please send an email
> to
> [EMAIL PROTECTED] with "unsubscribe" in the 
> subject, without the quotes.
>  

_______________________________________________________________
Copa del Mundo de la FIFA 2002
El �nico lugar de Internet con v�deos de los 64 partidos. 
�Ap�ntante ya! en http://fifaworldcup.yahoo.com/fc/es/
-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to