Loading ...
Sorry, an error occurred while loading the content.

Re: [nslu2-linux] Slow share on WD USB2 disc

Expand Messages
  • Tomas Eriksson
    hi again, mount show this: # mount /dev/sda1 on /initrd type jffs2 (rw) /dev/sda1 on / type ext3 (rw) /proc on /proc type proc (rw) usbdevfs on /proc/bus/usb
    Message 1 of 31 , Oct 2, 2007
    • 0 Attachment
      hi again,
      mount show this:
      # mount
      /dev/sda1 on /initrd type jffs2 (rw)
      /dev/sda1 on / type ext3 (rw)
      /proc on /proc type proc (rw)
      usbdevfs on /proc/bus/usb type usbdevfs (rw)
      /dev/sda1 on /share/flash/data type ext3 (rw)
      /dev/sda2 on /share/flash/conf type ext3 (rw,sync)
      /dev/sdb1 on /share/hdd/data/HDD_1_1_1 type ufsd (rw)
      and the time for time dd if=/dev/zero of=/media/<your_mount_point>/zeros bs=10240 count=10240
      is 13 minutes and 54 seconds!!

      similar results with Ext3, FAT32 and NTFS
      what could be wrong?
      ps -ef show this:
      # ps -ef
        PID TTY     Uid        Size State Command
          1         root       1212   S   /bin/init
          2         root          0   S   [keventd]
          3         root          0   R   [ksoftirqd_CPU0]
          4         root          0   S   [kswapd]
          5         root          0   S   [bdflush]
          6         root          0   S   [kupdated]
          7         root          0   S   [mtdblockd]
          8         root          0   S   [khubd]
          9         root          0   S   [jffs2_gcd_mtd4]
         10         root          0   S   [usb-storage-0]
         11         root          0   S   [scsi_eh_0]
         24         root          0   S   [sd-mc-thread]
         33         root          0   S   [kjournald]
         56         root          0   D   [ixp425_csr]
         57         root          0   S   [ixp425 ixp0]
         60 ttyS0   root       1916   S   /bin/sh
         61         root       1936   S   /sbin/syslogd -n
         62         root       1924   S   /sbin/klogd -n
        153         root          0   S   [kjournald]
        316         root       2132   S   /usr/sbin/thttpd -C /etc/thttpd.conf
        340         root       6172   S   /usr/sbin/smbd -D
        342         root       4844   S   /usr/sbin/nmbd -D
        349         root       6172   S   /usr/sbin/smbd -D
        353         root       1288   R   /bin/inetd
        371         root       1952   S   /usr/sbin/QuickSet
        375         root       1904   S   /usr/sbin/USB_Detect
        380         root       1900   S   /usr/sbin/USB_Detect
        383         root       1884   S   /usr/sbin/onetouch_detect
        387         root       1884   S   /usr/sbin/onetouch_detect
        398         root       1296   S   /usr/sbin/crond
        404         root       1928   S   /usr/sbin/CheckResetButton
        408         root       1196   S   /usr/sbin/CheckPowerButton
        410         root       1196   S   /usr/sbin/do_umount
        456         root       3244   S   /opt/sbin/sshd
        465         root       9908   S   /opt/bin/ushare -D
        473         root       9908   S   /opt/bin/ushare -D
        474         root       9908   S   /opt/bin/ushare -D
        477         root       9908   S   /opt/bin/ushare -D
        478         root       9908   S   /opt/bin/ushare -D
        479         root       9908   S   /opt/bin/ushare -D
        480         root          0   S   [usb-storage-1]
        481         root          0   S   [scsi_eh_1]
        484         root       5932   R   sshd: root@ttyp0
        486 ttyp0   root       1932   S   -sh
        514 ttyp0   root       1984   R   ps -ef
      and free show this:
      # free
                    total         used         free       shared      buffers
        Mem:        30524        29904          620            0        21252
       Swap:       127808         4792       123016
      Total:       158332        34696       123636
      and df -k show this:
      # df -k
      Filesystem           1k-blocks      Used Available Use% Mounted on
      rootfs                  711256     96320    607712  14% /
      /dev/sda1                 6528      6328       200  97% /initrd
      /dev/sda1               711256     96320    607712  14% /
      /dev/sda1               711256     96320    607712  14% /share/flash/data
      /dev/sda2               123767      4145    118344   3% /share/flash/conf
      /dev/sdb1            244196000    175844 244020156   0% /share/hdd/data/HDD_1_1_1
      ----- Original Message ----
      From: Thomas Reitmayr <treitmayr@...>
      To: nslu2-linux@yahoogroups.com
      Sent: Monday, October 1, 2007 8:41:35 PM
      Subject: Re: [nslu2-linux] Slow share on WD USB2 disc

      Did you check the mount options of your drive? What does "mount" display? If you see the option "sync" for you drive then remount it with something like
        mount /media/sdb2 -o remount,rw,async

      How fast can you access the drive locally? The following command should tell by creating a 100MB file:
        time dd if=/dev/zero of=/media/<your_mount_point>/zeros bs=10240 count=10240

      My WD MyBook 250MB does local writes at 16 MB/s, over the network is maybe half that value (cannot remember right now, see one of my previous emails).

      Hope that helps,

      ----- Ursprüngliche Mail ----
      Von: Tomas Eriksson <eritose@yahoo. se>
      An: nslu2-linux@ yahoogroups. com
      Gesendet: Montag, den 1. Oktober 2007, 08:13:00 Uhr
      Betreff: Re: [nslu2-linux] Slow share on WD USB2 disc

      Thank you. This SO_SNDBUF increase did speed up the disc access some, but it is still so slow i'm thinking about selling the NSLU2 unit....


      Compared to SMB share on my PC, the NSLU2 is about 25times slower for directory listings etc.



      ----- Original Message ----
      From: Thomas Reitmayr <treitmayr@yahoo. com>
      To: nslu2-linux@ yahoogroups. com
      Sent: Saturday, September 29, 2007 8:57:57 PM
      Subject: RE: [nslu2-linux] Slow share on WD USB2 disc

      Hi eritose,
      just search this mailing list (or google) for "async" or "SO_SNDBUF", this
      should get you to one of the threads dealing with slow disc access.

      --- eritose <eritose@yahoo. se> schrieb:

      > I have re-formatted my WD Passport2 250gb 2.5" USB2 disc to fat32 and
      > use it on my Unslung 6.8 but it is painfully slow.
      > If i connect from my xbox to my PC, everything is quick and allright.
      > As soon as i try to access my disc via the NSLU2 everything almost
      > freeze as slow as it is.
      > Any idéas?
      > tried SMB, MediaTomb, and UPNP other.
      > i want it to work as a NAS, but it is too slow right now.

      Wissenswertes für Bastler und Hobby Handwerker. BE A BETTER HEIMWERKER! www.yahoo.de/ clever

      Ta semster! - sök efter resor hos Yahoo! Shopping.
      Jämför pris på flygbiljetter och hotellrum: http://shopping. yahoo.se/ c-169901- resor-biljetter. html

      Yahoo! Clever: Stellen Sie Fragen und finden Sie Antworten. Teilen Sie Ihr Wissen.

      Låna pengar utan säkerhet.
      Sök och jämför hos Yahoo! Shopping.
    • Tomas Eriksson
      Linksys will release R76 Beta as an official release within short. Will there be an Unslung 7.x then? Here is one of the replies i got from Linksys ... Hi
      Message 31 of 31 , Oct 22, 2007
      • 0 Attachment
        Linksys will release R76 Beta as an official release within short.
        Will there be an Unslung 7.x then?
        Here is one of the replies i got from Linksys
        Hi Tomas,

        Thank you for contacting Linksys® Technical Support. I do apologize for the late reply.

        It is good to know that the beta firmware resolved the issue with the NSLU2 you have. Since this is still a beta file, we will wait for our Product Engineers to officially release it to the public.

        Thus, I will forward this recommendation of yours so they will have immediate action regarding the early release of this file and be included in our official website.

        Since you do not have technical concerns already, I will close this case then. After this case is closed, a survey will be sent. You can also give out comments and suggestions on the survey to directly let Linksys know about this.

        For more details and assistance on Linksys products, please visit our online technical support center at www.linksys.com/support and click on Ask Linksys.


        Nam Espinola
        Tech ID - 29962
        Product Support Specialist
        Linksys – A Division of Cisco Systems, Inc.

        ~ det är alltid gratis ost i råttfällan ~

        ----- Original Message ----
        From: Marcel Nijenhof <nslu2@...>
        To: nslu2-linux@yahoogroups.com
        Sent: Thursday, October 11, 2007 12:56:24 AM
        Subject: Re: [nslu2-linux] Re: Slow share on WD USB2 disc

        On Wed, 2007-10-10 at 14:19 +0000, Tomas Eriksson wrote:

        > Thank you, I have done the tests in the page and my slug is really
        > slower than expected. At least with the use of WD Passport2 disc.
        > Maby it is time to return the slug and buy something else....

        In which test is it slower?


        Går det långsamt? Skaffa dig en snabbare bredbandsuppkoppling.
        Sök och jämför hos Yahoo! Shopping.
      Your message has been successfully submitted and would be delivered to recipients shortly.