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

ui demo - cpu 100% in withou any user action #59

Closed
okbob opened this issue Aug 15, 2020 · 2 comments
Closed

ui demo - cpu 100% in withou any user action #59

okbob opened this issue Aug 15, 2020 · 2 comments
Labels

Comments

@okbob
Copy link

okbob commented Aug 15, 2020

Hi

when I run ui demo, then one CPU is used on 100%

15,90% [kernel] [k] prepare_exit_to_usermode
10,46% [kernel] [k] entry_SYSCALL_64
10,08% [kernel] [k] syscall_return_via_sysret
5,84% [kernel] [k] mwait_idle_with_hints.constprop.0
2,45% [kernel] [k] do_syscall_64
1,92% [kernel] [k] __fget_light
1,83% [kernel] [k] do_select
1,67% [kernel] [k] core_sys_select
1,62% [kernel] [k] n_tty_poll
1,62% libfinal.so.0.6.1 [.] finalcut::FVTerm::updateVTerm
1,50% libfinal.so.0.6.1 [.] finalcut::FKeyboard::isKeyPressed
1,30% [kernel] [k] tty_poll
1,29% [kernel] [k] selinux_file_ioctl
1,17% [kernel] [k] tty_ioctl
1,14% [kernel] [k] entry_SYSCALL_64_after_hwframe
1,13% libfinal.so.0.6.1 [.] finalcut::FTerm::detectTermSize

@gansm gansm added the bug label Aug 15, 2020
@gansm
Copy link
Owner

gansm commented Aug 15, 2020

Thanks for reporting this problem. The reason was that in the non-blocking-read mode the select() function was called too often. I have fixed the bug in the current commit (5574104).

@okbob
Copy link
Author

okbob commented Aug 16, 2020

it is fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants