From: Eric Wong Date: 2018-05-03T07:07:25+00:00 Subject: [ruby-core:86862] Re: [Ruby trunk Feature#14723] [WIP] sleepy GC sam.saffron@gmail.com wrote: > perf change seems a tiny bit more noticable. Thanks for benchmarking! Disappointing results, though. Is this is with my latest updates up thread with do_select and gc_*_continue functions? Can you try #define RUBY_GC_SLEEPY_MARK 0 in gc.h to disable incremental marking on sleep? I wonder if incremental marking is causing too many objects to be marked when it is triggered deep in the stack. Marking is best done when the stack is shallow (where unicorn calls IO.select), but could be harmful when the stack is deep (where Pg calls rb_thread_fd_select). Unsubscribe: