Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stracing emacs with spacemacs config shows a lot of pselect timeouts #801

Closed
naseer opened this issue Mar 11, 2015 · 12 comments
Closed

stracing emacs with spacemacs config shows a lot of pselect timeouts #801

naseer opened this issue Mar 11, 2015 · 12 comments
Labels
- Forum - Performance stale marked as a stale issue/pr (usually by a bot)

Comments

@naseer
Copy link
Contributor

naseer commented Mar 11, 2015

I was trying to debug some stutters and hangs in emacs so I fired up strace and saw a lot of these pselect timeouts happening continuously

pselect6(9, [3 4 8], [], NULL, {0, 62541168}, {NULL, 8}) = 0 (Timeout)

I'm using terminal emacs 24.4.1 on Ubuntu 14.04.

@syl20bnr
Copy link
Owner

Interesting can you post the list of the layers in your dotfile ?

@naseer
Copy link
Contributor Author

naseer commented Mar 11, 2015

This happens by default (no .spacemacs)

@naseer
Copy link
Contributor Author

naseer commented Mar 11, 2015

Also, spacemacs version is today's master.

@syl20bnr
Copy link
Owner

Ok, I have no linux box right now to test but blind shot: can you add guide-key to dotspacemacs-excluded-packages and check again ?

@naseer
Copy link
Contributor Author

naseer commented Mar 11, 2015

Are you on OS X? On OSX dtruss spews the following on idle screen.

select(0xC, 0x7FFF5FBFEAF0, 0x7FFF5FBFEA70, 0x0, 0x7FFF5FBFE790) = 0 0
__pthread_sigmask(0x1, 0x7FFF5FBFC08C, 0x0) = 0 0
__pthread_sigmask(0x2, 0x7FFF5FBFC08C, 0x0) = 0 0
select(0xC, 0x7FFF5FBFEAF0, 0x7FFF5FBFEA70, 0x0, 0x7FFF5FBFE790) = 0 0
__pthread_sigmask(0x1, 0x7FFF5FBFC08C, 0x0) = 0 0
select(0xC, 0x7FFF5FBFEAF0, 0x7FFF5FBFEA70, 0x0, 0x7FFF5FBFE790) = 0 0
__pthread_sigmask(0x1, 0x7FFF5FBFC08C, 0x0) = 0 0

@naseer
Copy link
Contributor Author

naseer commented Mar 11, 2015

Adding (setq-default dotspacemacs-excluded-packages '(guide-key) to .spacemacs didn't work

@syl20bnr
Copy link
Owner

Thank for trying my proposal. I'm eager to find where it comes from.

@naseer
Copy link
Contributor Author

naseer commented Mar 11, 2015

Thanks for looking at it :) let me know if there are more packages that are worth disabling - there are so many :)

@StreakyCobra
Copy link
Contributor

Any news on this issue? Is this still the happening?

@naseer
Copy link
Contributor Author

naseer commented Nov 13, 2015

Yes - but the frequency is much lesser (once every 2-3 seconds) so it may be WAI

@fiveNinePlusR
Copy link
Contributor

Probably should close this.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!

@github-actions github-actions bot added the stale marked as a stale issue/pr (usually by a bot) label Feb 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- Forum - Performance stale marked as a stale issue/pr (usually by a bot)
Projects
None yet
Development

No branches or pull requests

4 participants