This website requires JavaScript.
Explore
Help
Register
Sign In
project-base
/
server-skynet-source-3rd-jemalloc
Watch
2
Star
0
Fork
0
You've already forked server-skynet-source-3rd-jemalloc
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
391bad4b95
server-skynet-source-3rd-je...
/
test
/
unit
/
hpa_background_thread.sh
5 lines
97 B
Bash
Raw
Normal View
History
Unescape
Escape
HPA: Do deferred operations on background threads.
2021-06-08 02:45:57 +08:00
#!/bin/sh
Wake up background threads on demand This change allows every allocator conforming to PAI communicate that it deferred some work for the future. Without it if a background thread goes into indefinite sleep, there is no way to notify it about upcoming deferred work.
2021-08-19 10:24:37 +08:00
export
MALLOC_CONF
=
"hpa_dirty_mult:0,hpa_min_purge_interval_ms:50,hpa_sec_nshards:0"
HPA: Do deferred operations on background threads.
2021-06-08 02:45:57 +08:00
Reference in New Issue
Copy Permalink