Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 31da755b authored by Soichiro Fujii's avatar Soichiro Fujii
Browse files

libprefetch: Increase default fd count to 1024

Maximum capacity of 128 fds for replaying pack file
found to be too small. increasing it to 1024 should
be safe for most devices.

Bug: 380766679
Test: Builds
Test: run on devices, observe no performance regression
Change-Id: I4ee818dd5a9eb87b1a852c616ebda1bf5813d0da
parent 178e031a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ service prefetch_record /system/bin/prefetch record --duration ${ro.prefetch_boo
    disabled
    oneshot

service prefetch_replay /system/bin/prefetch replay --io-depth ${ro.prefetch_boot.io_depth:-2} --max-fds ${ro.prefetch_boot.max_fds:-128}
service prefetch_replay /system/bin/prefetch replay --io-depth ${ro.prefetch_boot.io_depth:-2} --max-fds ${ro.prefetch_boot.max_fds:-1024}
    user root
    group root system
    disabled