WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
59562
new-run-webkit-tests should disable/enable spindump on mac
https://bugs.webkit.org/show_bug.cgi?id=59562
Summary
new-run-webkit-tests should disable/enable spindump on mac
Stephanie Lewis
Reported
2011-04-26 16:59:59 PDT
new-run-webkit-tests should disable/enable spindump on mac. It can hog the available memory and cpu to disable: sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.spindump.plist sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.spindump_symbolicator.plist sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.spindump_starter.plist to enable: sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.spindump.plist sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.spindump_symbolicator.plist sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.spindump_starter.plist
Attachments
Add attachment
proposed patch, testcase, etc.
Dirk Pranke
Comment 1
2012-06-18 18:08:37 PDT
hm. Sorry for not looking at this before now ... This is a problematic idea for me, since sudo would prompt for passwords and hence presumably cause problems on the bots, unless the commands were specially treated in sudoers. Unless there's another way to solve this, the best I can come up with is to add a --disable-spindump flag that would do this only on request, but I'm not sure if that's really better than just doing this yourself in a wrapper script around new-run-webkit-tests. WDYT?
Stephanie Lewis
Comment 2
2012-06-19 15:23:43 PDT
For the bots it would probably just be easier for each bot to disable spindump permanently (there's a good chance we already do this on the mac bots). I was thinking more of people running the tests on their machines. Spindump, when it gets going, can dramatically reduce performance particularly when symbolicating custom builds. I haven' t tested it recently so I should get some numbers on cpu usage on a recent build. I don't like the idea of a wrapper, it seems like it would add an extra layer of complexity for a small benefit.
Dirk Pranke
Comment 3
2012-06-19 15:45:40 PDT
maybe we should add a separate script for enabling/disabling spindump so people can run it when they want?
Dirk Pranke
Comment 4
2012-07-13 17:10:35 PDT
I'm going to close this as WONTFIX, since I don't see a good way of doing this without prompting for passwords, and I don't think that's a good idea. Let me know if you disagree.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug