Firmware made my disk slow?

Re: Firmware made my disk slow?

Postby Walburga » Tue Dec 13, 2016 8:40 am

I'm going to check those commands tonight.

About the compression, i'm sending MP4 so that shouldn't be a issue.

There is a wired connection between my NAS and my Raspberry Pi 2 b. (& The pi is connected to the TV)
Walburga
 
Posts: 10
Joined: Fri Dec 09, 2016 9:36 am

Re: Firmware made my disk slow?

Postby Walburga » Tue Dec 13, 2016 5:42 pm

Dear,

Code: Select all
Settings for eth0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 0
        Transceiver: external
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: d
        Link detected: yes


This is the output of the ethtool eth0.
I'm not very familiar with this output though.
Walburga
 
Posts: 10
Joined: Fri Dec 09, 2016 9:36 am

Re: Firmware made my disk slow?

Postby fvdw » Tue Dec 13, 2016 9:53 pm

Something is not right here.
A raspberry doesn't have a gigabit ethernet interface. Max ethernet speed of your rasberry is 100 mbits/s.
As your nas is set to 1000 mbit/s something like a router must be between your nas and rasberry. Is that the case?
Next thing to check is interface settings of your raspberry, which speed and is it set to full duplex. Seems you have communication issue with your rasberry. Why do use raspberry? If its converting your mp4 stream to video then it might well be overloaded and not able to kerp track with network stream. But as you mentioned that with using lacie firmware it didn't have this problem. There must be something else.
Which media server do you use on the nas?

Ps what did the ifconfig command gave as output?

Ps2 you could try to use the 4.6.6 experimental kernel (see development topic) that kernel greatly increases reading speed. But as your raspberry can only handle 100 mbits (10-12 MB/s) I expect that this probably will not solve it
fvdw
Site Admin - expert
 
Posts: 13472
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Firmware made my disk slow?

Postby Walburga » Wed Dec 14, 2016 12:57 pm

Dear,

Thanks for the reply!

The raspberry pi is there (with the OSMC software) to play the movies from my NAS to the TV (still is an old TV, so the pi is connected through a HDMI port).

Yes, there is a router and a modem between the NAS and the PI. The router (our own) is set as a switch (and a WIFI spot) so it shouldn't do anything with the communication. The connected modem shouldn't do anything either but i'm not fully sure about this since it's from our provider.

I will check the interface setting of the PI tonight but it didn't give any problems before (with the Lacie firmware).

At the moment I don't use any media server on the NAS since I don't think it would be necessary? I thought that the PI just connected to the nas and streams to movie to the TV?

I'll post the ifconfig tonight.
Walburga
 
Posts: 10
Joined: Fri Dec 09, 2016 9:36 am

Re: Firmware made my disk slow?

Postby Jocko » Wed Dec 14, 2016 2:32 pm

Hi Walburga,

According with some Internet searches, it is adviced to use nfs server instead of samba server to mount a remote share with OSMC.

It seems you did not enable nfs server on your cloudbox: related processes were not listed on your last posted output (ps command).

So try to enable nfs server and give access permissions to your rspb on the media share of your cloudbox.
Then check if you still have your streaming issue
Jocko
Site Admin - expert
 
Posts: 11558
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Firmware made my disk slow?

Postby fvdw » Wed Dec 14, 2016 4:30 pm

fvdw
Site Admin - expert
 
Posts: 13472
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Firmware made my disk slow?

Postby Walburga » Wed Dec 14, 2016 7:54 pm

This is the ifconfig of the NAS :

Code: Select all
eth0      Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX:XX:
          inet addr:192.168.0.250  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: XXXXXXXXXXXXXXXXXX/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8589 errors:0 dropped:0 overruns:0 frame:0
          TX packets:22416 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:890714 (869.8 KiB)  TX bytes:28946857 (27.6 MiB)
          Interrupt:11

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:253 errors:0 dropped:0 overruns:0 frame:0
          TX packets:253 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:26041 (25.4 KiB)  TX bytes:26041 (25.4 KiB)



The local loopback is new (I think from the NFS server?)
Walburga
 
Posts: 10
Joined: Fri Dec 09, 2016 9:36 am

Re: Firmware made my disk slow?

Postby fvdw » Wed Dec 14, 2016 8:22 pm

So no packets dropped or collisions.
:scratch

If you download a file from the cloudbox to your pc of a few hundred MB what speed does it download and is dowload speed more or less constant?
If you use windows 7 it can show a nice graph if you use task manager and view network performance. On windows 10 explorer will show a graph of download speed and progress if you select details in the popup window.
If it above 10 MB/s then the cloudbox and firmware are not the cause if your problem but more likely the raspberry would be my guess
fvdw
Site Admin - expert
 
Posts: 13472
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Firmware made my disk slow?

Postby Walburga » Sat Dec 17, 2016 10:56 am

Dear,

Now i'm downloading the move on my HDD and the speeds don't go over the 2MB/s.
Even if I stream the movie to my PC I still get framedrops and sometimes the movie hangs.
So i'm guessing that it is my NAS that is not performing well, maybe from the damages it took before.
What I am going to try is to put my NAS right next to my PI (without a modem & router in between) and see if this improves the speed / quality of the connection. But if this doesn't improve, i'll just buy a new NAS.

Even so, thanks for all the info & i'll try to give this forum a look from time to time and try to help other people with questions.
Walburga
 
Posts: 10
Joined: Fri Dec 09, 2016 9:36 am

Previous

Return to Lacie cloudbox (white casing)

Who is online

Users browsing this forum: Bing Bot and 16 guests