|
Re: Stange performance issue
|
12/06/2007 9:48 AM
post3418
|
Re: Stange performance issue
> I took a trace of my own, and I can confirm that cc1 is waitpage most of
> the time.
>
> This is a combination of a larger binary, plus the sticky bit was
> forgotten on the binary.
> This sticky bit hints to procnto that you use the program a lot, and
> keeps it in memory for 30
> seconds after exit. It can make a big difference for some programs,
> especially cc1.
>
> You can replace the sticky bit with
>
> # chmod +t cc1
>
Now your talking!!!
I still find it strange that it was that slow because i set up the file system cache to be 64Meg which should be enough
to hold everything to compile a very small program, no?
cc1 is 5Meg it shouldn't take long to load it from cache to the memory. Unless it's because it's allocating lots of
memory?
|
|
|