Stream: git-wasmtime

Topic: wasmtime / Issue #911 Small wasm modules taking excessive...


view this post on Zulip Wasmtime GitHub notifications bot (Mar 05 2020 at 15:29):

bnjbvr commented on Issue #911:

Noted, thanks for the pings! I'll make sure to revisit these test cases once we have isel and regalloc in a position where we can test useful benchmarks.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 09 2020 at 18:41):

fitzgen commented on Issue #911:

Here is another test case that hangs in register allocation: slow-regalloc.wat.gz

view this post on Zulip Wasmtime GitHub notifications bot (Mar 16 2020 at 18:24):

fitzgen commented on Issue #911:

Here is another that hangs in register allocation: testcase1.wasm.gz

Wondering if some of these might be the same as https://github.com/bytecodealliance/wasmtime/issues/1306...

view this post on Zulip Wasmtime GitHub notifications bot (Mar 30 2020 at 15:34):

alexcrichton commented on Issue #911:

foo.wasm.gz

Another fuzz bug that came up over the weekend, again looks like it's largely register allocation.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2020 at 13:19):

julian-seward1 commented on Issue #911:

Note that https://github.com/bytecodealliance/regalloc.rs/pull/89 fixes extreme slowness in the new regalloc's coalescing analysis, that was reported for some of the examples listed here.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 07 2020 at 06:31):

julian-seward1 commented on Issue #911:

With the abovementioned fix (regalloc.rs PR89) in place, having looked at the profiles on one of these cases, I reckon we could probably chop another 10% off the allocation costs by rewriting the allocator's avl_tree.rs fn insert_wrk to be non-recursive. Not sure if this is really worth it though; these test cases are pretty artificial -- a function with 2 basic blocks containing in total 400000+ instructions, including several tens of thousands of calls.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 07 2020 at 15:17):

alexcrichton commented on Issue #911:

FWIW these are all fuzz bugs so it's not like they're representative of actual code. If they're generating ridiculously large functions it may be that we just need to tweak the fuzzer limits, so once your patch lands seems reasonable to basically close this out!

view this post on Zulip Wasmtime GitHub notifications bot (Oct 28 2020 at 04:26):

alexcrichton commented on Issue #911:

Another fuzz bug:
foo.wasm.gz

view this post on Zulip Wasmtime GitHub notifications bot (Nov 02 2020 at 15:00):

alexcrichton commented on Issue #911:

Another fuzz bug that cropped up today - https://gist.github.com/alexcrichton/fc234498ac40b718ed2d1b0aead6bc79


Last updated: Nov 22 2024 at 16:03 UTC