diff options
author | Leonardo Graboski Veiga <leogveiga@gmail.com> | 2017-03-23 14:44:19 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2017-04-07 14:07:39 +0200 |
commit | 554adccf11f2ba2947ed221307ddd703c0889967 (patch) | |
tree | 94ff2715cb3acf976b40becb021d70df9179ee3c /recipes-core/udev/files/hotplug.rules | |
parent | 5fe0cebd4347eb19e9cf47ba4dd3803e929402cd (diff) |
apalis/colibri-imx6/t30/tk1: read ahead cache configurationColibri-iMX7_LXDE-Image_2.7b2-20170410Colibri-iMX6_LXDE-Image_2.7b2-20170410Colibri-VF_LXDE-Image_2.7b2-20170410Colibri-T30_LXDE-Image_2.7b2-20170410Colibri-T20_LXDE-Image_2.7b2-20170410Apalis-iMX6_LXDE-Image_2.7b2-20170410Apalis-TK1_LXDE-Image_2.7b2-20170410Apalis-T30_LXDE-Image_2.7b2-20170410
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 <leogveiga@gmail.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'recipes-core/udev/files/hotplug.rules')
-rw-r--r-- | recipes-core/udev/files/hotplug.rules | 2 |
1 files changed, 2 insertions, 0 deletions
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" |