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
diff --git a/init/libprefetch/prefetch/prefetch.rc b/init/libprefetch/prefetch/prefetch.rc
index bdcbbc6..56fb827 100644
--- a/init/libprefetch/prefetch/prefetch.rc
+++ b/init/libprefetch/prefetch/prefetch.rc
@@ -30,7 +30,7 @@
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