kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #171638
[Bug 1570257] [NEW] [Lenovo X220] SDXC UHS card slow performance
Public bug reported:
Steps to reproduce:
- Install ubuntu on Lenovo X220 laptop (checked with Linux Mint 17.3 (based on Ubuntu Trusty LTS) and LiveUSB of Ubuntu 15.10)
- Insert and mount SDXC UHS card.
- Try to read some files from mounted card.
Results:
- Actual read speed is about 20 MB/s.
- Expected speed is higher, because I checked the same card in the same laptop with external USB2.0 cardreader and it gives about 36MB/s and I think USB3.0 could give more.
- Actually cardreader in X220 model connected via PCI-E bus, so the performance must be al least equal to USB reader, but it actually almost 2 times lower.
Some details:
- I supposed this bug is relevant to #773524 bug, the solution was to lower down base frequency to 50 MHz.
I checked my card in live 11.04 and it works fine, but the speed is even lower, about 11MB/s.
Technical details:
$ cat /proc/version_signature
Ubuntu 4.2.0-30.36~14.04.1-generic 4.2.8-ckt3
$ dmesg | grep mmc0
[ 1.934510] mmc0: SDHCI controller on PCI [0000:0d:00.0] using DMA
[ 2.012509] mmc0: new high speed SDXC card at address 59b4
[ 2.014409] mmcblk0: mmc0:59b4 NCard 59.0 GiB
v69@v69-ThinkPad-X220 ~ $ dmesg | grep sdhci
[ 1.929073] sdhci: Secure Digital Host Controller Interface driver
[ 1.929076] sdhci: Copyright(c) Pierre Ossman
[ 1.931077] sdhci-pci 0000:0d:00.0: SDHCI controller found [1180:e822] (rev 7)
[ 1.931611] sdhci-pci 0000:0d:00.0: No vmmc regulator found
[ 1.931613] sdhci-pci 0000:0d:00.0: No vqmmc regulator found
Note:
After cold boot I see in dmesg
SDHCI controller found [1180:e823] (rev 4)
but after reboot or sleep it changes to
SDHCI controller found [1180:e822] (rev 7)
Proposal:
It is possible to control MMC base frequency manually (i.e. by running sdhci-pci module with needed options) to check the performance on 4.2 kernel on 200 MHz base frequency and be able to low it down for cards that requires that patch.
Sometimes I see in dmesg
sdhci-pci 0000:0d:00.0: MMC controller base frequency changed to 50Mhz.
which indicates that fix of #773524 bug works, but the performance with or without this message is the same.
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Tags: cardreader lenovo sd x220
** Attachment added: "lspci-vnvn.log"
https://bugs.launchpad.net/bugs/1570257/+attachment/4636625/+files/lspci-vnvn.log
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1570257
Title:
[Lenovo X220] SDXC UHS card slow performance
Status in linux package in Ubuntu:
New
Bug description:
Steps to reproduce:
- Install ubuntu on Lenovo X220 laptop (checked with Linux Mint 17.3 (based on Ubuntu Trusty LTS) and LiveUSB of Ubuntu 15.10)
- Insert and mount SDXC UHS card.
- Try to read some files from mounted card.
Results:
- Actual read speed is about 20 MB/s.
- Expected speed is higher, because I checked the same card in the same laptop with external USB2.0 cardreader and it gives about 36MB/s and I think USB3.0 could give more.
- Actually cardreader in X220 model connected via PCI-E bus, so the performance must be al least equal to USB reader, but it actually almost 2 times lower.
Some details:
- I supposed this bug is relevant to #773524 bug, the solution was to lower down base frequency to 50 MHz.
I checked my card in live 11.04 and it works fine, but the speed is even lower, about 11MB/s.
Technical details:
$ cat /proc/version_signature
Ubuntu 4.2.0-30.36~14.04.1-generic 4.2.8-ckt3
$ dmesg | grep mmc0
[ 1.934510] mmc0: SDHCI controller on PCI [0000:0d:00.0] using DMA
[ 2.012509] mmc0: new high speed SDXC card at address 59b4
[ 2.014409] mmcblk0: mmc0:59b4 NCard 59.0 GiB
v69@v69-ThinkPad-X220 ~ $ dmesg | grep sdhci
[ 1.929073] sdhci: Secure Digital Host Controller Interface driver
[ 1.929076] sdhci: Copyright(c) Pierre Ossman
[ 1.931077] sdhci-pci 0000:0d:00.0: SDHCI controller found [1180:e822] (rev 7)
[ 1.931611] sdhci-pci 0000:0d:00.0: No vmmc regulator found
[ 1.931613] sdhci-pci 0000:0d:00.0: No vqmmc regulator found
Note:
After cold boot I see in dmesg
SDHCI controller found [1180:e823] (rev 4)
but after reboot or sleep it changes to
SDHCI controller found [1180:e822] (rev 7)
Proposal:
It is possible to control MMC base frequency manually (i.e. by running sdhci-pci module with needed options) to check the performance on 4.2 kernel on 200 MHz base frequency and be able to low it down for cards that requires that patch.
Sometimes I see in dmesg
sdhci-pci 0000:0d:00.0: MMC controller base frequency changed to 50Mhz.
which indicates that fix of #773524 bug works, but the performance with or without this message is the same.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1570257/+subscriptions
Follow ups
-
[Bug 1570257] Re: [Lenovo X220] SDXC UHS card slow performance
From: Launchpad Bug Tracker, 2016-06-18
-
[Bug 1570257] Re: [Lenovo X220] SDXC UHS card slow performance
From: Joseph Salisbury, 2016-04-18
-
[Bug 1570257] Re: [Lenovo X220] SDXC UHS card slow performance
From: Михаил, 2016-04-14
-
[Bug 1570257] WifiSyslog.txt
From: Михаил, 2016-04-14
-
[Bug 1570257] UdevLog.txt
From: Михаил, 2016-04-14
-
[Bug 1570257] UdevDb.txt
From: Михаил, 2016-04-14
-
[Bug 1570257] RfKill.txt
From: Михаил, 2016-04-14
-
[Bug 1570257] PulseList.txt
From: Михаил, 2016-04-14
-
[Bug 1570257] ProcModules.txt
From: Михаил, 2016-04-14
-
[Bug 1570257] ProcInterrupts.txt
From: Михаил, 2016-04-14
-
[Bug 1570257] ProcEnviron.txt
From: Михаил, 2016-04-14
-
[Bug 1570257] ProcCpuinfo.txt
From: Михаил, 2016-04-14
-
[Bug 1570257] Lsusb.txt
From: Михаил, 2016-04-14
-
[Bug 1570257] Lspci.txt
From: Михаил, 2016-04-14
-
[Bug 1570257] IwConfig.txt
From: Михаил, 2016-04-14
-
[Bug 1570257] CurrentDmesg.txt
From: Михаил, 2016-04-14
-
[Bug 1570257] CRDA.txt
From: Михаил, 2016-04-14
-
[Bug 1570257] BootDmesg.txt
From: Михаил, 2016-04-14
-
[Bug 1570257] Re: [Lenovo X220] SDXC UHS card slow performance
From: Михаил, 2016-04-14
-
[Bug 1570257] Re: [Lenovo X220] SDXC UHS card slow performance
From: Михаил, 2016-04-14
-
[Bug 1570257] Missing required logs.
From: Brad Figg, 2016-04-14
-
[Bug 1570257] Re: [Lenovo X220] SDXC UHS card slow performance
From: Михаил, 2016-04-14