From 554adccf11f2ba2947ed221307ddd703c0889967 Mon Sep 17 00:00:00 2001 From: Leonardo Graboski Veiga Date: Thu, 23 Mar 2017 14:44:19 +0100 Subject: apalis/colibri-imx6/t30/tk1: read ahead cache configuration Configure the read_ahead cache size to optimal value, for the mmcblk devices (eMMC and SD card). The cache values are module specific, tests were run on the pre-built image (BSP V2.7 Beta 1). The measurement of read speed for a range of cache sizes (16kB to 256MB) was made using hdparm -t. Signed-off-by: Leonardo Graboski Veiga Acked-by: Marcel Ziswiler --- recipes-core/udev/files/hotplug.rules | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 recipes-core/udev/files/hotplug.rules (limited to 'recipes-core/udev/files/hotplug.rules') diff --git a/recipes-core/udev/files/hotplug.rules b/recipes-core/udev/files/hotplug.rules new file mode 100644 index 0000000..a36a47d --- /dev/null +++ b/recipes-core/udev/files/hotplug.rules @@ -0,0 +1,2 @@ +# SD card hotplug configuration of read_ahead cache size +KERNEL=="mmcblk?", ACTION=="add" RUN+="/etc/udev/scripts/hotplug.sh" -- cgit v1.2.3