DragonFly bugs List (threaded) for 2007-07
DragonFly BSD
DragonFly bugs List (threaded) for 2007-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: the evil interrupt stats monster is still around!


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Sat, 28 Jul 2007 13:59:26 +0200

Simon 'corecode' Schubert wrote:
However, look at this:

avg fork parent: 0.000148
avg fork child: 0.004091

(rough rough numbers, will be off if there are multiple processes running concurrently)

Okay, less rough numbers:


122991 104/s fork

avg fork parent: 0.000157
avg fork child: 0.002563

so if we assume that the parent always waits for the child, it'll take 0.267 seconds per second (in average) to fork? That means 1/4 of the time is just spent until the child start running.

the above numbers include vfork, these are without:

avg fork parent: 0.000144
avg fork child: 0.002556

same, basically. Maybe teaching sh(1) to use vfork could give some performance improvement?

cheers
 simon

--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]