Results 1 to 10 of 11

Thread: PanP7 USB 2.0 Performance Lags / A little help, please?

Hybrid View

  1. #1

    [Solved] [64-bit Lucid] PanP7 USB 2.0 Performance Lags / A little help, please?

    This issue has been resolved for me by using kernel version 3.0+!



    Greetings all! I've owned my PanP7 for a couple weeks now, and I'm absolutely in love with it. Honestly, I'm really glad that I went for the custom built laptop instead of trying (and failing) to get a Windows Tax refund from some other manufacturer.

    I'm wondering if any other System76 users are experiencing this problem. I feel like I can't be the only System76 user to have experienced this problem, but I'm not blaming the company by any means.

    On the PanP7, I'm running the 64-bit version of Lucid, and one thing that I've run into is that USB 2.0 performance can be quite laggy when transferring large files to an external drive (this has been documented many, many times across various linux distros since at least 2007, so I'll skip the reference links here - search linux USB 2.0 slow and you'll get thousands of hits). Transfers begin quickly, but then bottom out after a few hundred megabytes - eventually lagging somewhere in the area of 1 Mbps (regardless of file system type, and I've tested between FAT32, NTFS, and ext2 with the same results). For me, this happens between different USB thumb drives and an external hard drive, none of which experience this problem on my desktop nor under Windows. eSata works very quickly on the PanP7 for the external hard drive under Lucid.

    Now before I asked for assistance here, I did do some research into this matter. Some forum posts suggested adding an "evelator=[X]" to the end of the kernel string in grub (see: http://ubuntuforums.org/showthread.p...33#post8124833). Some people reported success with this method, others not so much.

    Others suggested (and I'm more convinced of this) that the underlying cause is the ehci_hcd module, and this can be fixed by unloading it and then reloading with

    Code:
    sudo modprobe -r ehci_hcd
    sudo modprobe ehci_hcd
    My questions to the System76 community would be then:
    • Has anyone else experienced this problem?
    • What do you do to correct it?


    Trying the above command to unload the module, the command line returns: "FATAL: Module ehci_hcd is builtin" since in the newest Ubuntu kernels this module is not separate any longer!

    From what I've read, I do think this is related to Intel chipsets. I already attempted to disable Legacy USB support in the BIOS and it rendered the same results.

    So yeah. I'm pretty stumped. Any and all help would be appreciated! I can post any error logs or whatnot that would be helpful. Please just let me know how to get that info.

    [Update] I may try to compile a new kernel with the Anticipatory I/O Scheduling instead of CFQ, like the above linked post spoke about. Does anyone have any input or advice on this for the PanP7? I'm currently backing up my system partition with Clonezilla and I might try this. The only thing that makes me pause is that the above post is an old post and I'm not sure if it would even do me any good.

    Does anyone know of how I might test the "elevator=" method above? I do not have a /boot/grub/menu.lst.

    [Update 2] I did more reading and found out about the changes to GRUB2. So I held down the shift key and got to the grub menu, manually added the evelator=as to enable Anticipatory I/O Scheduling and then booted to Lucid. ...And the change did nothing.

    So I'm guessing that either this did not work, or this is not the cause of the problem.

    I'm STILL STUCK! ARRRRRRG!!

    Thank you in advance!
    Last edited by IAmWhatWasDavidBowman; November 26th, 2011 at 02:38 AM. Reason: Solved

  2. #2
    Join Date
    Sep 2006
    Location
    Denver, Colorado
    Beans
    5,638
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: PanP7 USB 2.0 Performance Lags / A little help, please?

    Actually, that might be the first time anyone has ever mentioned that on our forums. I hadn't even heard of it.

    We can try to work in some tests around here, but my advice would be to participate in the bugs that have already been filed on it, as the problem is going to end up having to be formally solved by upstream developers.
    To err is human, to forgive is very ... dog-like.

    Thomas Aaron
    FetchMasters, LLC

  3. #3

    Re: PanP7 USB 2.0 Performance Lags / A little help, please?

    Thomas,

    Thanks for the reply. Nobody, huh? Ha ha! That is my usual luck. I flubbed my original installation of Lucidtrying to resize the sysem drive so that I could create a separate /home partition (the install that shipped from you guys). So I reinstalled Lucid following the directions on your Knowledge Base, and all seems well - just not the USB. I didn't have the laptop long enough to know if this problem was there before that happened.

    Does System76 use the stock Ubuntu kernel? I'm assuming you do. Is there anything you can think of that may have changed between the factory install and my reinstallation?

    I'm absolutely not placing any blame on your company. I'm just trying to take all factors into account if I'm the only one that this has happened to.

    Oh, and I have already started participating in the bug reports. They're so many related to this though, and many if them have been ongoing for years.

    I'm going to download some live cd's of other distros and see how those do.
    Last edited by IAmWhatWasDavidBowman; August 10th, 2010 at 07:53 PM.

  4. #4
    Join Date
    Sep 2006
    Location
    Denver, Colorado
    Beans
    5,638
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: PanP7 USB 2.0 Performance Lags / A little help, please?

    Yes, we basically use a stock installation, plus our System76 Driver.

    We definitely don't do anything that would effect USB speed. So, it's got to be something with the driver module loaded by Ubuntu.

    I'll do a little poking around online and see if I can come up with any ideas.
    To err is human, to forgive is very ... dog-like.

    Thomas Aaron
    FetchMasters, LLC

  5. #5

    Re: PanP7 USB 2.0 Performance Lags / A little help, please?

    Thank you again. I'll also report back if I have any updates.

  6. #6

    Re: PanP7 USB 2.0 Performance Lags / A little help, please?

    Okay, so after some halfway-extensive testing, I've got the following bits of info to add to this:

    • The 32-bit version of Lucid doesn't demonstate this problem, either through a live cd environment or installed to the internal hard drive. Speed stays consistent, but does not seem to exceed 12 Mbps.
    • Puppy Linux 4.3.1 doesn't seem to demonstrate this problem, though because of the lack of a progress bar for the copy operation, I can't give exact speeds. I would guess that it is operating at 12 Mbps like the 32-bit version of Lucid as it seemed to take about the same amount of time to transfer a large file.
    • Fedora 13 64-bit (live cd) demonstrates this problem
    • A live cd for 64-bit Lucid bit also demonstrates this problem
    • Linux Mint 9 64-bit live cd also had this problem
    • Lucid Puppy 5.0.1 live cd did not have this problem, though I think this is a 32-bit distro, and was as fast as the live Windows cd
    • A live Windows cd does not demonstrate this problem.


    I'm going to try to fill out all of the bug reports with more thorough information regarding this problem. I agree with you that it looks like something that will have to be fixed with upstream developers.
    Last edited by IAmWhatWasDavidBowman; August 11th, 2010 at 07:22 PM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •