[REBOL] Re: client script to measure server performance: ideas ?
From: jjmmes:yaho:o:es at: 6-Jun-2002 1:33
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 <[a--none--email--it]> 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" <[jjmmes--yahoo--es]>
> To: <[rebol-list--rebol--com]>
> 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
> > [rebol-request--rebol--com] 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
> [rebol-request--rebol--com] 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/