ech0
Posts: 27
Joined: Tue Apr 03, 2012 11:24 am

Re: Where is the Bottleneck?

Tue Feb 11, 2014 10:24 pm

Mine is NTFS-formatted, would ext4 be a noticeable improvement and is it compatible with Windows and Android? I usually access the raspberry pi device containing the NTFS hdd through win and android. It's also using Samba, perhaps NFS would be better?

ghans
Posts: 7883
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Where is the Bottleneck?

Wed Feb 12, 2014 6:01 am

ext4 will at least double the transfer rate - ext4 disks
don't work if directly connected to a Windows PC.
But if you are using Samba , it should make no difference in
compatibility.

ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

ech0
Posts: 27
Joined: Tue Apr 03, 2012 11:24 am

Re: Where is the Bottleneck?

Wed Feb 12, 2014 11:48 am

I see, so if I format it in to ext4 I wont be able to connect to the drive directly from Windows. But connecting to it through samba is fine. What about NFS then? Currently, samba uses about 40% cpu when I'm transferring files to the drive, and when doing some minor research I see that NFS is a lot better in the regard of cpu usage. It could even drop down 10 times, to about 4%. Wouldn't that be a smart move? Or there's compatibility issues with accessing it from a Windows machine? I also read somewhere that Windows has had a problem with NFS since the start of it all, back in the 80s but they recently added some kind of support for Windows 7 if I'm not mistaken.

User avatar
RaTTuS
Posts: 10703
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: Where is the Bottleneck?

Wed Feb 12, 2014 11:50 am

ext4 on linux is loads better than ntfs
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

ghans
Posts: 7883
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Where is the Bottleneck?

Wed Feb 12, 2014 4:18 pm

NFS for Windows is only included in the Pro versions AFAIK.
I guess you're stuck with Samba.


ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

ech0
Posts: 27
Joined: Tue Apr 03, 2012 11:24 am

Re: Where is the Bottleneck?

Wed Feb 12, 2014 6:37 pm

Actually I have Windows 8.1 Pro but the service doesn't exist there. Perhaps I should get the Enterprise edition as it exist there. Do you think NFS would be an improvement? If so, I'll re-install with Enterprise.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5709
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Where is the Bottleneck?

Wed Feb 12, 2014 10:23 pm

ech0 wrote:Actually I have Windows 8.1 Pro but the service doesn't exist there. Perhaps I should get the Enterprise edition as it exist there. Do you think NFS would be an improvement? If so, I'll re-install with Enterprise.
I use hanewin nfs server on Windows:
http://www.hanewin.net/nfs-e.htm

You do pay for it, but you can try it free for a month to see if it works for you.

ghans
Posts: 7883
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Where is the Bottleneck?

Thu Feb 13, 2014 7:52 am

I guess he needs a NFS client ...


ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

sendtojoao
Posts: 2
Joined: Fri Feb 19, 2016 2:05 am

Re: Where is the Bottleneck?

Mon Feb 13, 2017 9:06 pm

Just to others with the same problem, I've tested SMB and NFS, with NTFS and EXT4.

I use a clean image of Raspbian, with a External HD 3.5 and auto-powered.

The results is:
SMB + NTFS = less than 2MB (~700KB)
SMB + EXT4 = up to 2MB
NFS + NTFS = up to 2MB
NFS + EXT4 = up to 8MB (Mac OS ~8MB and Windows 6MB).

I hope this help someone.

gkreidl
Posts: 6355
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Where is the Bottleneck?

Mon Feb 13, 2017 9:59 pm

I have EXT4 formatted HDDs on all RPis and get always about 11.5 MB/sec with all Samba transfers.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

Return to “General discussion”