Some positive feedback on the responsiveness of bzr(explorer)

Martitza Mendez martitzam at gmail.com
Wed May 11 22:55:16 UTC 2011


I usually use Process Explorer, but honestly for these noticable dealys I
can use an old fashioned stopwatch.  I'm just not the kind of person who's
going to get excited about the difference between 2.000 and 2.005 seconds
No, really, I'm not making fun of the Git people.  :)  I realize there is
sometimes interesting information in the decimal places, but my perspective
is entirely pragmatic.

As Eli says, VMMap is also very helpful on Windows:
http://technet.microsoft.com/en-us/sysinternals/dd535533

~M


On Wed, May 11, 2011 at 12:44 AM, Alexander Belchenko <bialix at ukr.net>wrote:

> Martitza Mendez пишет:
>
>
>>
>> On Mon, May 9, 2011 at 10:20 PM, John Arbash Meinel <
>> john at arbash-meinel.com <mailto:john at arbash-meinel.com>> wrote:
>>
>>    -----BEGIN PGP SIGNED MESSAGE-----
>>    Hash: SHA1
>>
>>
>>    ...
>>     >> Maximum memory consumption during commit was 315MB.  Total page
>>    faults
>>     >> about 800,000 (on a machine with 2GB RAM).
>>     >
>>     > What is "Total page faults"?
>>
>>    A page fault is when a program wants to access a bit of virtual memory
>>    but it isn't actually present in memory.
>>    http://en.wikipedia.org/wiki/Page_fault
>>
>>    This happens in a variety of contexts. One is during "swapping", when
>>    the OS runs out of memory and writes the virtual pages to disk. Then
>>    when the program accesses them again, it has to read back from disk.
>>
>>    I *think* it might also happen based on how you allocate. I know in
>>    Linux you can do tons of mallocs(), but until you touch the memory it
>>    doesn't actually assign real memory to your process. I believe you
>> don't
>>    hit a page fault during malloc() just during the later access.
>>
>>
>> This set of observations was on WinXP (I should have mentioned that).  And
>> I'm actually not sure whether or how 'lazy' memory allocation is on WIn32.
>>  Good question.  I suppose I should know.  I'll have to test that when I get
>> a few minutes.
>>
>
> Which tools are you using to get such statistics? Process Explorer?
>
> --
> All the dude wanted was his rug back
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20110511/f9a3ccc0/attachment.html>


More information about the bazaar mailing list