darcs

Issue 1900 darcs seems particularly slow on MacOS X

Title darcs seems particularly slow on MacOS X
Priority bug Status given-up
Milestone Resolved in
Superseder Nosy List dmitry.kurochkin, kowey, stephen
Assigned To
Topics Mac, Performance

Created on 2010-07-26.21:32:52 by kowey, last changed 2017-07-31.00:29:53 by gh.

Files
File name Uploaded Type Edit Remove
florian-dtrace kowey, 2010-08-01.19:36:25 application/octet-stream
Messages
msg11886 (view) Author: kowey Date: 2010-07-26.21:32:50
This has been reported by at least two people (me and Jason, although
Jason seems to have noticed it only for benchmarking).

We don't yet have any idea why this would be the case.

So we basically just need a lot of diagnostic actions and/or thinking to
rule out possibilities.

Some thoughts may be:
- Some sort of HFS+ particularities, eg. wrt hardlinks?
- Spotlight
- Time Machine (off for benchmarking, though)

What could be causing this? And how do we confirm the hypothesis?
Even darcs get on the local filesystem is slow, mind you...
msg11887 (view) Author: stephen Date: 2010-07-27.01:50:15
Eric Kow writes:

 > Some thoughts may be:
 > - Some sort of HFS+ particularities, eg. wrt hardlinks?

Maybe.

 > - Spotlight

Shouldn't be; that runs in the background.

 > - Time Machine (off for benchmarking, though)

Nope.  It's off, period, for me (everything I do is under VC).

 > What could be causing this? And how do we confirm the hypothesis?
 > Even darcs get on the local filesystem is slow, mind you...

All system calls on Mac are slow, that's all there is to it AFAICS.
msg11908 (view) Author: kowey Date: 2010-08-01.19:36:25
Florian's dtrace results (attached) look particular important to
snapshot on this ticket.

http://lists.osuosl.org/pipermail/darcs-users/2010-July/024655.html

96% of our time spent in __semwait_signal, which actually isn't called
all that much... what does this mean?
Attachments
msg14814 (view) Author: kowey Date: 2011-11-23.12:44:50
There's a hypothesis out there about stat() being related to this
History
Date User Action Args
2010-07-26 21:32:52koweycreate
2010-07-27 01:50:16stephensetnosy: + stephen
messages: + msg11887
2010-08-01 19:36:26koweysetfiles: + florian-dtrace
messages: + msg11908
2010-08-01 19:36:44koweysetstatus: unknown -> waiting-for
2011-11-23 12:44:51koweysetmessages: + msg14814
2017-07-31 00:29:53ghsetstatus: waiting-for -> given-up