List:General Discussion« Previous MessageNext Message »
From:Kevin Ying Date:May 7 1999 6:26am
Subject:Re: How fast can a daemon stick a fork() into your ribs?
View as plain text  
Static parent/Dynamic child
# fork_bench test on SunOS 5.7 aegis sun4u   : Solaris 7 UltraSPARC1/143 
Avg fork() + execl() time = 11.59 ms
Static parent/Static child
# fork_bench test on SunOS 5.7 aegis sun4u   : Solaris 7 UltraSPARC1/143 
Avg fork() + execl() time = 3.66 ms
Dynamic parent/Dynamic child
# fork_bench test on SunOS 5.7 aegis sun4u   : Solaris 7 UltraSPARC1/143 
Avg fork() + execl() time = 13.35 ms
Dynamic parent/Static child
# fork_bench test on SunOS 5.7 aegis sun4u   : Solaris 7 UltraSPARC1/143 
Avg fork() + execl() time = 6.51 ms

On Thu, 6 May 1999, Sasha Pachev wrote:

> Static parent/Dynamic child
> # fork_bench test on Linux 2.0.33 www.sashanet.com i586   : Pentium 166
> 32 MB EDO RAM 
> Avg fork() + execl() time = 8.36 ms
> Static parent/Static child
> # fork_bench test on Linux 2.0.33 www.sashanet.com i586   : Pentium 166
> 32 MB EDO RAM 
> Avg fork() + execl() time = 1.95 ms
> Dynamic parent/Dynamic child
> # fork_bench test on Linux 2.0.33 www.sashanet.com i586   : Pentium 166
> 32 MB EDO RAM 
> Avg fork() + execl() time = 8.80 ms
> Dynamic parent/Static child
> # fork_bench test on Linux 2.0.33 www.sashanet.com i586   : Pentium 166
> 32 MB EDO RAM 
> Avg fork() + execl() time = 2.48 ms
> 
> Static parent/Dynamic child
> # fork_bench test on Linux 2.0.36 www.isshost.com i686   : Pentium II
> 350 128 MB SDRAM 
> Avg fork() + execl() time = 2.31 ms
> Static parent/Static child
> # fork_bench test on Linux 2.0.36 www.isshost.com i686   : Pentium II
> 350 128 MB SDRAM 
> Avg fork() + execl() time = 0.43 ms
> Dynamic parent/Dynamic child
> # fork_bench test on Linux 2.0.36 www.isshost.com i686   : Pentium II
> 350 128 MB SDRAM 
> Avg fork() + execl() time = 2.45 ms
> Dynamic parent/Static child
> # fork_bench test on Linux 2.0.36 www.isshost.com i686   : Pentium II
> 350 128 MB SDRAM 
> Avg fork() + execl() time = 0.55 ms
> 
> 
> 
> I'd be interested to see what you get on others. From the results I got,
> it seems that unless your server(Intel hardware/Linux) gets hit in the
> order of magnitude of 1000 times per second, the overhead of fork() +
> execve()  is relatively insignificant. Correct me if my interpretation
> of the results is in error.
> 
> -- 
> Sasha Pachev
> http://www.sashanet.com
> 
> Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
> posting. To request this thread, e-mail mysql-thread3000@stripped
> 
> To unsubscribe, send a message to the address shown in the
> List-Unsubscribe header of this message. If you cannot see it,
> e-mail mysql-unsubscribe@stripped instead.
> 

~~~
Kevin Ying / Sysadmin Team Leader     interQ, Inc.
kevin@stripped                Infoss Tower 10/F        
(vox) +81-3-5456-2555                 20-1 Sakuragaoka-cho 
(fax) +81-3-5456-2556                 Shibuya-ku, Tokyo 150-0031, JP

Thread
How fast can a daemon stick a fork() into your ribs?Sasha Pachev7 May
  • Re: How fast can a daemon stick a fork() into your ribs?Dan Nelson7 May
  • Re: How fast can a daemon stick a fork() into your ribs?Orlando Andico7 May
  • Re: How fast can a daemon stick a fork() into your ribs?Kevin Ying7 May