Slow performance
Posted: Sun Apr 19, 2020 12:21 pm
Hi,
I'm having trouble with NewBin consuming a lot of CPU cycles and the download working very slowly (many times 0/0) for long periods of time; only to speed up to my connect speed of 200Mbps for a short time. It's only happened since upgrading to 6.82/Build 5142; but also around the time with many people working from home - so I can't rule out an issue with my ISP. However, Newbin is consuming around 4% of the CPU for the 3900x system I have....... which is one core pretty much fully loaded.
I consistently see the following in the callstack:-
0, newsbinpro64.exe!pcre2_set_parens_nest_limit_8+0x6aae8
1, newsbinpro64.exe!pcre2_set_parens_nest_limit_8+0x6ae62
2, newsbinpro64.exe!pcre2_set_parens_nest_limit_8+0x56246
3, newsbinpro64.exe!pcre2_set_parens_nest_limit_8+0x560ea
4, newsbinpro64.exe!pcre2_set_parens_nest_limit_8+0x43b04
5, newsbinpro64.exe!pcre2_set_parens_nest_limit_8+0x44f20
6, newsbinpro64.exe!pcre2_set_parens_nest_limit_8+0x3e693
7, newsbinpro64.exe!pcre2_get_error_message_8+0xca95e
8, newsbinpro64.exe!pcre2_get_startchar_8+0xcedc
9, newsbinpro64.exe!pcre2_get_startchar_8+0x11a00
10, newsbinpro64.exe!pcre2_get_startchar_8+0x11915
11, newsbinpro64.exe!pcre2_get_startchar_8+0x3c3de
12, newsbinpro64.exe!pcre2_get_startchar_8+0x5ff92
13, newsbinpro64.exe!pcre2_get_mark_8+0x1378e2
14, newsbinpro64.exe!pcre2_get_mark_8+0x138feb
15, newsbinpro64.exe!pcre2_get_mark_8+0xf2d8c
16, newsbinpro64.exe!pcre2_get_mark_8+0xde2fc
17, newsbinpro64.exe!pcre2_get_startchar_8+0x27865c
18, KERNEL32.DLL!BaseThreadInitThunk+0x14
19, ntdll.dll!RtlUserThreadStart+0x21
Which is pretty consistent when it is downloading very slowly (or not at all) and taking ~4% of the CPU. I have 64GB of RAM (and have configured things for 8GB for chunks) and everything is installed on an nVME SSD; but it seems to be CPU bound not I/O bound.
I went to the "Data Folder" and cleaned out most of the "DB3" files in case something had gotten corrupted; but this has not helped.
When Newsbin is maxing my connection for the short periods it does; the CPU usage is much lower and I see several threads sharing the load. When the download is going very slowly (or not at all) I see the above core stack and it's pretty much one thread doing all the "work". Also the "Downloading Files" window is pretty much non-responsive UI wise when Newsbin is in this state.
Any suggestions for resolving this performance issue?
Thanks
I'm having trouble with NewBin consuming a lot of CPU cycles and the download working very slowly (many times 0/0) for long periods of time; only to speed up to my connect speed of 200Mbps for a short time. It's only happened since upgrading to 6.82/Build 5142; but also around the time with many people working from home - so I can't rule out an issue with my ISP. However, Newbin is consuming around 4% of the CPU for the 3900x system I have....... which is one core pretty much fully loaded.
I consistently see the following in the callstack:-
0, newsbinpro64.exe!pcre2_set_parens_nest_limit_8+0x6aae8
1, newsbinpro64.exe!pcre2_set_parens_nest_limit_8+0x6ae62
2, newsbinpro64.exe!pcre2_set_parens_nest_limit_8+0x56246
3, newsbinpro64.exe!pcre2_set_parens_nest_limit_8+0x560ea
4, newsbinpro64.exe!pcre2_set_parens_nest_limit_8+0x43b04
5, newsbinpro64.exe!pcre2_set_parens_nest_limit_8+0x44f20
6, newsbinpro64.exe!pcre2_set_parens_nest_limit_8+0x3e693
7, newsbinpro64.exe!pcre2_get_error_message_8+0xca95e
8, newsbinpro64.exe!pcre2_get_startchar_8+0xcedc
9, newsbinpro64.exe!pcre2_get_startchar_8+0x11a00
10, newsbinpro64.exe!pcre2_get_startchar_8+0x11915
11, newsbinpro64.exe!pcre2_get_startchar_8+0x3c3de
12, newsbinpro64.exe!pcre2_get_startchar_8+0x5ff92
13, newsbinpro64.exe!pcre2_get_mark_8+0x1378e2
14, newsbinpro64.exe!pcre2_get_mark_8+0x138feb
15, newsbinpro64.exe!pcre2_get_mark_8+0xf2d8c
16, newsbinpro64.exe!pcre2_get_mark_8+0xde2fc
17, newsbinpro64.exe!pcre2_get_startchar_8+0x27865c
18, KERNEL32.DLL!BaseThreadInitThunk+0x14
19, ntdll.dll!RtlUserThreadStart+0x21
Which is pretty consistent when it is downloading very slowly (or not at all) and taking ~4% of the CPU. I have 64GB of RAM (and have configured things for 8GB for chunks) and everything is installed on an nVME SSD; but it seems to be CPU bound not I/O bound.
I went to the "Data Folder" and cleaned out most of the "DB3" files in case something had gotten corrupted; but this has not helped.
When Newsbin is maxing my connection for the short periods it does; the CPU usage is much lower and I see several threads sharing the load. When the download is going very slowly (or not at all) I see the above core stack and it's pretty much one thread doing all the "work". Also the "Downloading Files" window is pretty much non-responsive UI wise when Newsbin is in this state.
Any suggestions for resolving this performance issue?
Thanks