| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
@indutny might be related to #6404 |
Sorry, something went wrong.
Sorry, something went wrong.
|
@refack It is strange: test-benchmark-net.js is OK with it. But with normal run this benchmark hangs after all tests: J:\temp\_git\node-fork\benchmark\net>set NODEJS_BENCHMARK_ZERO_ALLOWED=1 J:\temp\_git\node-fork\benchmark\net>tcp-raw-pipe.js dur=0 net\tcp-raw-pipe.js dur=0 type="utf" len=102400: 0 net\tcp-raw-pipe.js dur=0 type="asc" len=102400: 0 net\tcp-raw-pipe.js dur=0 type="buf" len=102400: 0 net\tcp-raw-pipe.js dur=0 type="utf" len=16777216: 0 net\tcp-raw-pipe.js dur=0 type="asc" len=16777216: 0 net\tcp-raw-pipe.js dur=0 type="buf" len=16777216: 0 J:\temp\_git\node-fork\benchmark\net> // OK J:\temp\_git\node-fork\benchmark\net>set NODEJS_BENCHMARK_ZERO_ALLOWED= J:\temp\_git\node-fork\benchmark\net>tcp-raw-pipe.js net\tcp-raw-pipe.js dur=5 type="utf" len=102400: 1.297886419487734 net\tcp-raw-pipe.js dur=5 type="asc" len=102400: 1.0694375760443917 net\tcp-raw-pipe.js dur=5 type="buf" len=102400: 1.2243643596337568 net\tcp-raw-pipe.js dur=5 type="utf" len=16777216: 1.0074100180585681 net\tcp-raw-pipe.js dur=5 type="asc" len=16777216: 1.2771849558116457 net\tcp-raw-pipe.js dur=5 type="buf" len=16777216: 1.1929763144473262 // HUNG! Needs CTRL+C to abort Windows 7 x64. |
Sorry, something went wrong.
|
failure was because the #12261 issue/fix |
Sorry, something went wrong.
which node version? |
Sorry, something went wrong.
|
@refack I have flaky results with almost all versions: 4.8.2: OK / hung after all tests When it hangs, there are 2 node processes. When I type Ctrl+c, one process is aborted. second remains and I can't even kill it via process manager (Access Denied). I've run recently almost all Node benchmarks and had no such problem with any. Can anybody reproduce? |
Sorry, something went wrong.
Windows 7 SP1 x64? |
Sorry, something went wrong.
Yep. |
Sorry, something went wrong.
|
@vsemozhetbyt try this trick: rename the node.exe you're testing, then see if the hung node.exe is the tested node or the one run by autocannon |
Sorry, something went wrong.
|
@refack Yes, I've already have a set of renamed Nodes and do usualy use procmon) 1: Total Commander with nodes. |
Sorry, something went wrong.
|
@vsemozhetbyt ups for the setup 🙆 I can't repro... |
Sorry, something went wrong.
|
"MpsSvc, WSearch, WinDefend" — not found / disabled) Well, I think we can ignore this my issue as too flaky. Thank you again for fixing! |
Sorry, something went wrong.
Maybe a good restart... |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
fixes nodejs#11972 PR-URL: nodejs#12258 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
|
Landed in 16073c083e |
Sorry, something went wrong.
|
@refack Please, don't forget about commit message guidelines :) |
Sorry, something went wrong.
|
This command may support you when you want to check the commit message :) |
Sorry, something went wrong.
I'll need to find a way to hook it into git for myself, in just the right conditions. |
Sorry, something went wrong.
|
Landed fbe946b on v6.x, LMK if this is incorrect. |
Sorry, something went wrong.
|
🤔 it's a bug fix in /benchmark/ so it makes sense to except it from the "no automatic benchmarking porting" rule. |
Sorry, something went wrong.
|
@refack do you by chance know what is going on here? readStart 23 seconds to complete, blocking all other NodeJS operations. IDK if I should open an issue, tho this is v12.14.1 so I wouldn't until I test against latest stable & 14. Here's a screenshot of the time-ordered flamegraph as rendered by speedscope: It caused a in-production server to peg past 100% CPU utilization & drop 17K concurrent websocket connections (I presume from timeout). It regularly seems to occur at ~17.4K+ concurrency, not randomly, in low memory with otherwise ~27% CPU usage. Thanks, just looking for pointers or if anybody has seen something similar. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
fix #11972
On windows apparently it's meaningful to call readStart only after connection completion.
(makes sense on POSIX as well, and causes no regressions)
Checklist
Affected core subsystem(s)
benchmarks