Amos Jeffries wrote:
> Henrik Nordstrom wrote:
>> tis 2008-04-22 klockan 17:56 +1200 skrev Amos Jeffries:
>>
>>> I gave it a try on Linux.
>>>
>>> Once all the compile errors were fixed the testing code produced
>>> "RSS: 0" for both run cases.
>>
>> That's not Adrians fault.. Linux doesn't report rss in getrusage()..
>
> I didn't think it was.
>
>>
>> To test on Linux you need to make the program pause after all
>> allocations and monitor the size using top or ps..
>
> Okay. Thanks. I'll adjust the code and run again...
And the results are in:
#1
RSS: 123064
#2
RSS: 199044
Although I'm not too sure of these since I ran the ps+grep before test1
#2 had finished allocating and it came up with an RSS of 204372. Three
ps+grep in a row following the #2 run completion showed a 5k
almost-linear reduction in RSS each check.
Amos
-- Please use Squid 2.6.STABLE19 or 3.0.STABLE4Received on Tue Apr 22 2008 - 12:50:37 MDT
This archive was generated by hypermail 2.2.0 : Wed Apr 30 2008 - 12:00:07 MDT