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

100% (single) core load on Windows #1308

Closed
vshymanskyy opened this issue Aug 23, 2017 · 4 comments
Closed

100% (single) core load on Windows #1308

vshymanskyy opened this issue Aug 23, 2017 · 4 comments

Comments

@vshymanskyy
Copy link

SerialPort v5.0.0
Node version is v7.9.0
Electron version is 1.7.5
Windows 10 (32-bit)

Summary of Problem

On Windows, once a serial port is opened (manufacturer:"wch.cn", vid:"1A86", pid:"7523"),
I experience 100% (single) core load on Windows. On Linux, the same app produces nearly 0 load.

Using Process Monitor, I obtained a stacktrace of the busy thread:

ntdll.dll!KiFastSystemCallRet
serialport.node!EIO_Read+0x62
node.dll!uv_fs_poll_stop+0x1ad
node.dll!uv_queue_work+0xfc
ucrtbase.dll!set_app_type+0x4f
KERNEL32.DLL!BaseThreadInitThunk+0x24
ntdll.dll!RtlCheckRegistryKey+0xfbb
ntdll.dll!RtlCheckRegistryKey+0xf8f
@vshymanskyy
Copy link
Author

possibly related to #1221

@reconbot
Copy link
Member

reconbot commented Aug 23, 2017 via email

@vshymanskyy
Copy link
Author

Ok, good to know. But putting 100% load on one core is weird - I would expect minor load increase due to sync. operation (and, of course thread count limitation).

@reconbot
Copy link
Member

reconbot commented Aug 24, 2017 via email

@lock lock bot locked and limited conversation to collaborators Feb 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants