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

High CPU usage of Self #109

Open
dram opened this issue Nov 5, 2016 · 0 comments
Open

High CPU usage of Self #109

dram opened this issue Nov 5, 2016 · 0 comments

Comments

@dram
Copy link
Contributor

dram commented Nov 5, 2016

CPU usage of Self seems to be a bit high, especially if several outliners are opened in desktop.

Following are some strace output fragments:

  1. VM without loading any snapshot:
1478326017.008976 --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
1478326017.009015 rt_sigreturn()        = 3
1478326017.009075 read(0, 0x91df27f, 1) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
1478326017.018939 --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
1478326017.018968 rt_sigreturn()        = 3
1478326017.019017 read(0, 0x91df27f, 1) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
1478326017.028920 --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
1478326017.028961 rt_sigreturn()        = 3
1478326017.029097 read(0, 0x91df27f, 1) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
  1. Loading morphic.snap, but without desktop open:
1478326125.006896 --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
1478326125.006964 rt_sigreturn()        = -1 EINTR (Interrupted system call)
1478326125.007076 select(0, NULL, NULL, NULL, NULL) = ? ERESTARTNOHAND (To be restarted if no handler)
1478326125.016918 --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
1478326125.016988 rt_sigreturn()        = -1 EINTR (Interrupted system call)
1478326125.017131 select(0, NULL, NULL, NULL, NULL) = ? ERESTARTNOHAND (To be restarted if no handler)
1478326125.026860 --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
1478326125.026889 rt_sigreturn()        = -1 EINTR (Interrupted system call)
1478326125.026960 select(0, NULL, NULL, NULL, NULL) = ? ERESTARTNOHAND (To be restarted if no handler)
  1. Desktop opened:
1478326234.006793 --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
1478326234.006807 rt_sigreturn()        = -1 EINTR (Interrupted system call)
1478326234.006834 rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
1478326234.006861 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
1478326234.006876 gettimeofday({1478326234, 6880}, NULL) = 0
1478326234.006894 gettimeofday({1478326234, 6898}, NULL) = 0
1478326234.006911 gettimeofday({1478326234, 6915}, NULL) = 0
1478326234.006926 gettimeofday({1478326234, 6929}, NULL) = 0
1478326234.006973 gettimeofday({1478326234, 6976}, NULL) = 0
1478326234.006992 recvmsg(5, 0x914e584, 0) = -1 EAGAIN (Resource temporarily unavailable)
1478326234.007008 gettimeofday({1478326234, 7011}, NULL) = 0
1478326234.007042 gettimeofday({1478326234, 7046}, NULL) = 0
1478326234.007072 recvmsg(5, 0x914e594, 0) = -1 EAGAIN (Resource temporarily unavailable)
1478326234.007100 gettimeofday({1478326234, 7104}, NULL) = 0
1478326234.007116 gettimeofday({1478326234, 7119}, NULL) = 0
1478326234.007130 gettimeofday({1478326234, 7134}, NULL) = 0
1478326234.007147 recvmsg(5, 0x90ce904, 0) = -1 EAGAIN (Resource temporarily unavailable)
1478326234.007163 gettimeofday({1478326234, 7167}, NULL) = 0
1478326234.007180 select(0, NULL, NULL, NULL, NULL) = ? ERESTARTNOHAND (To be restarted if no handler)
1478326234.016810 --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
1478326234.016830 rt_sigreturn()        = -1 EINTR (Interrupted system call)
1478326234.016857 rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
1478326234.016885 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
1478326234.016904 gettimeofday({1478326234, 16907}, NULL) = 0
1478326234.016922 select(0, NULL, NULL, NULL, NULL) = ? ERESTARTNOHAND (To be restarted if no handler)
1478326234.026804 --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
1478326234.026825 rt_sigreturn()        = -1 EINTR (Interrupted system call)
1478326234.026854 rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
1478326234.026884 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
1478326234.026901 gettimeofday({1478326234, 26905}, NULL) = 0
1478326234.026925 gettimeofday({1478326234, 26929}, NULL) = 0
1478326234.026945 gettimeofday({1478326234, 26949}, NULL) = 0
1478326234.026966 recvmsg(5, 0x90ce904, 0) = -1 EAGAIN (Resource temporarily unavailable)
1478326234.026993 gettimeofday({1478326234, 26997}, NULL) = 0
1478326234.027012 select(0, NULL, NULL, NULL, NULL) = ? ERESTARTNOHAND (To be restarted if no handler)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant