Compare commits
2 Commits
39c3231de2
...
0fdd5b9c37
Author | SHA1 | Date |
---|---|---|
Tony Garnock-Jones | 0fdd5b9c37 | |
Tony Garnock-Jones | d1a1516ada |
|
@ -30,5 +30,14 @@ mkdir -p /usr/local/etc/syndicate/services
|
|||
# particular we no longer want to run the DHCP server that PostmarketOS runs by default on
|
||||
# usb0. Instead we will be a DHCP client. (This was just easiest to set up.)
|
||||
killall unudhcpd || true
|
||||
# We also don't want the splash screen.
|
||||
killall pbsplash || true
|
||||
|
||||
# This tells Rust programs built with jemallocator to be very aggressive about keeping their
|
||||
# heaps small. Synit currently targets small machines. Without this, I have seen the system
|
||||
# syndicate-server take around 300MB of heap when doing not particularly much; with this, it
|
||||
# takes about 15MB in the same state. There is a performance penalty on being so aggressive
|
||||
# about heap size, but it's more important to stay small in this circumstance right now.
|
||||
export _RJEM_MALLOC_CONF="narenas:1,tcache:false,dirty_decay_ms:0,muzzy_decay_ms:0"
|
||||
|
||||
exec /sbin/synit-pid1
|
||||
|
|
Loading…
Reference in New Issue