imx6-dongle / linux-imx

Linux kernel for GK802/HI802, i.MX6 based HDMI-dongle/tv-stick computers
Other
28 stars 22 forks source link

High activity on MMC makes system unresponsive #7

Open abrasive opened 11 years ago

abrasive commented 11 years ago

When thrashing mmcblk1 (my rootfs) the responsiveness to everything is massively decreased - for example typing text in another terminal becomes extremely laggy until the disk activity is over.

For a quad-core stick this is pretty pathological behaviour. Is there scheduler trouble or some sort of global locking?

rzk commented 11 years ago

it could be linked with setting wrong bitcount on sdcard iomux and not using 8bit mode. also could be linked to wrong speed of the sdcard, sabre-platform devices have this routine for setting the speed https://github.com/rzk/linux-imx/blob/imx_3.0.35_1.1.0-hdmidongle/arch/arm/mach-mx6/board-mx6q_sabrelite.c#L364

mtx512 commented 11 years ago

I tried changing the code to use the call back routine as per sabre/evk boards and it made no difference.