cyclerider
Dabbler
- Joined
- Nov 7, 2013
- Messages
- 26
I've been having issues transferring files over the network to my FreeNas server from a mac while using AFP or SMB/CIFS. Reading speeds are decent, but writes are absolutely unusable. Using a windows machine or FTP does not seem to be affected as far as I have been able to determine. I've been researching it for a couple days, but I wasn't able to find anything. I've included as much information as I could think of, but if you need more let me know.
How I want to use the server:
I used to have Ubuntu on this server, but a hard drive started going bad so I decided to order a new one to replace it and then try out FreeNas since I want to setup a ZFS server in the future once I have the funds for better hardware. When I had Ubuntu, I would use Carbon Copy Cloner on my mac (I believe it uses rsync) to backup the photos and videos I took for work on a nightly basis over AFP. However, now it takes forever to transfer files over AFP or SMB via OSX 10.8.5. We're talking a gig or less per hour. Using the same computer booted into Windows 7 seems to be fine over SMB. Originally I thought it might be not enough RAM because that seems to be one of the first solutions people suggested when I was researching the issue, so I upgraded to the motherboard max of 4GB but it was still slow. So I tried FTP on a whim, and found it going about the speeds I found reasonable. I ran a couple tests with different configurations that I have for you guys to look at.
Server Hardware:
MSI Wind Board D510 Intel Atom D510 BGA559 Intel NM10 Mini ITX Motherboard
4 GB of ram (FreeNas only reads 3GB)
1x3 TB WD RED WD30EFRX
2x1.5 TB Seagate Barracuda 7200.11 ST31500341AS 1.5TB 7200 RPM 32MB Cache SATA 3.0Gb
Seagates are connected to a PCI Sata Card: Koutech IO-PSA420 32-bit PCI SATA II
The drives are each setup individually (no mirrors or raid or anything) using UFS. 32 bit freenas on a 32 GB PNY flashdrive that had never been used before
Network:
Gigabit Linksys router, all computers are hooked up via gigabit ethernet.
AFP Share Details:
/mnt/cyclerider
allow list: cyclerider
read-write access: pathum
Disc Discovery: checked
Disc Discover Mode: default
enable .AppleDouble: checked
AFP3 UNix Privs: checked
Default File Permission:
Owner - RWE
Group - RE
Other - RE
Default Directory Permission:
Owner - RWE
Group - R
Other - R
Drive Setup
Each hard drive is setup as a separate UFS Volume.
Owner (user): cyclerider
Owner (group): cyclerider
Mode:
Owner - RWE
Group - RWE
Other - RE
Type of ACL - Unix
Set permission recursively - unchecked
Test Configuration:
I connected my laptop to my Linksys gigabit router using an ethernet cable and turned off the wireless. The server is also hooked up to the same router. My laptop is Boot Camped with Mountain Lion and has Windows 7 installed. The laptop has 8GB ram, a samsung SSD and a 2.66 ghz core2duo. I created a folder that contained files that I felt would be somewhat representative of what a backup might consist of. My FTP client was FileZilla, and was set to allow 10 simultaneous file transmissions. I would keep an eye on the network speed reported by the computer and wrote down the max speed I saw, and levels that it stayed around while going through the transfer. The results are below:
9.31 GB folder as reported by OSX, 197 items, consisting of Canon Raw Files (CR2), XMP files, and MOV files.
Mac - Speeds from iStat Menus
SSD>FreeNAS FTP
Time: 4 minutes 50 seconds
Max Speed Seen: 60 MB/sec, stayed in the 50s to 60s. Slowed down as it was transferring less files.
FreeNAS FTP > SSD Time: 5 minutes, 10 seconds
Max Speed Seen: 65 MB/sec when it had 10 files going at once, 80 MB/sec when it had 1 file, stayed in the 20-35 range for the most part
SSD > FreeNAS AFP Time: Didn't bother letting it finish, but it estimated 45 minutes
Max Speed Seen: 12 MB/sec. Most of the time it would slow to nearly 0, then spike up to 4 or more MB/sec for about 10 seconds then go back down.
FreeNAS AFP > SSD Time: 6:20
Max Speed Seen: 80 MB/s near the end. Usually stayed in the 20-25s. stayed in the 30s to 40s near the end.
FreeNAS SMB > SSD Time: 6:15
Max Speed Seen: 50 MB/s near the end. Usually stayed in the 15-20s at first. then stayed in the 25s to 40s near the end.
SSD > FreeNas SMB Time: Didn't bother letting it finish, but it estimated 6 hours
Max Speed Seen: 1.1 MB/sec
Windows:
Same folder, but Windows reports it as 8.67 GB
Speeds looked at through Resource Monitor
SSD > FreeNas FTP
4 minutes
Max Speed Seen: 62.5, 44-55 usual
FTP > SSD Time: 4:30
83MB./sec max, 15-25, 50-60 for a few seconds
Mapped Freenas as a Network Drive:
Freenas SMB > SSD
Time: 6:15
Speed: 37.5 MB/sec max, 15-19 MB/sec at first, then 25s to 30s, then 35s to 40s near end
SSD > FreeNas SMB
Time: 4:12
66MB/sec max. 37-50, 50-62, 18-30
How I want to use the server:
I used to have Ubuntu on this server, but a hard drive started going bad so I decided to order a new one to replace it and then try out FreeNas since I want to setup a ZFS server in the future once I have the funds for better hardware. When I had Ubuntu, I would use Carbon Copy Cloner on my mac (I believe it uses rsync) to backup the photos and videos I took for work on a nightly basis over AFP. However, now it takes forever to transfer files over AFP or SMB via OSX 10.8.5. We're talking a gig or less per hour. Using the same computer booted into Windows 7 seems to be fine over SMB. Originally I thought it might be not enough RAM because that seems to be one of the first solutions people suggested when I was researching the issue, so I upgraded to the motherboard max of 4GB but it was still slow. So I tried FTP on a whim, and found it going about the speeds I found reasonable. I ran a couple tests with different configurations that I have for you guys to look at.
Server Hardware:
MSI Wind Board D510 Intel Atom D510 BGA559 Intel NM10 Mini ITX Motherboard
4 GB of ram (FreeNas only reads 3GB)
1x3 TB WD RED WD30EFRX
2x1.5 TB Seagate Barracuda 7200.11 ST31500341AS 1.5TB 7200 RPM 32MB Cache SATA 3.0Gb
Seagates are connected to a PCI Sata Card: Koutech IO-PSA420 32-bit PCI SATA II
The drives are each setup individually (no mirrors or raid or anything) using UFS. 32 bit freenas on a 32 GB PNY flashdrive that had never been used before
Network:
Gigabit Linksys router, all computers are hooked up via gigabit ethernet.
AFP Share Details:
/mnt/cyclerider
allow list: cyclerider
read-write access: pathum
Disc Discovery: checked
Disc Discover Mode: default
enable .AppleDouble: checked
AFP3 UNix Privs: checked
Default File Permission:
Owner - RWE
Group - RE
Other - RE
Default Directory Permission:
Owner - RWE
Group - R
Other - R
Drive Setup
Each hard drive is setup as a separate UFS Volume.
Owner (user): cyclerider
Owner (group): cyclerider
Mode:
Owner - RWE
Group - RWE
Other - RE
Type of ACL - Unix
Set permission recursively - unchecked
Test Configuration:
I connected my laptop to my Linksys gigabit router using an ethernet cable and turned off the wireless. The server is also hooked up to the same router. My laptop is Boot Camped with Mountain Lion and has Windows 7 installed. The laptop has 8GB ram, a samsung SSD and a 2.66 ghz core2duo. I created a folder that contained files that I felt would be somewhat representative of what a backup might consist of. My FTP client was FileZilla, and was set to allow 10 simultaneous file transmissions. I would keep an eye on the network speed reported by the computer and wrote down the max speed I saw, and levels that it stayed around while going through the transfer. The results are below:
9.31 GB folder as reported by OSX, 197 items, consisting of Canon Raw Files (CR2), XMP files, and MOV files.
Mac - Speeds from iStat Menus
SSD>FreeNAS FTP
Time: 4 minutes 50 seconds
Max Speed Seen: 60 MB/sec, stayed in the 50s to 60s. Slowed down as it was transferring less files.
FreeNAS FTP > SSD Time: 5 minutes, 10 seconds
Max Speed Seen: 65 MB/sec when it had 10 files going at once, 80 MB/sec when it had 1 file, stayed in the 20-35 range for the most part
SSD > FreeNAS AFP Time: Didn't bother letting it finish, but it estimated 45 minutes
Max Speed Seen: 12 MB/sec. Most of the time it would slow to nearly 0, then spike up to 4 or more MB/sec for about 10 seconds then go back down.
FreeNAS AFP > SSD Time: 6:20
Max Speed Seen: 80 MB/s near the end. Usually stayed in the 20-25s. stayed in the 30s to 40s near the end.
FreeNAS SMB > SSD Time: 6:15
Max Speed Seen: 50 MB/s near the end. Usually stayed in the 15-20s at first. then stayed in the 25s to 40s near the end.
SSD > FreeNas SMB Time: Didn't bother letting it finish, but it estimated 6 hours
Max Speed Seen: 1.1 MB/sec
Windows:
Same folder, but Windows reports it as 8.67 GB
Speeds looked at through Resource Monitor
SSD > FreeNas FTP
4 minutes
Max Speed Seen: 62.5, 44-55 usual
FTP > SSD Time: 4:30
83MB./sec max, 15-25, 50-60 for a few seconds
Mapped Freenas as a Network Drive:
Freenas SMB > SSD
Time: 6:15
Speed: 37.5 MB/sec max, 15-19 MB/sec at first, then 25s to 30s, then 35s to 40s near end
SSD > FreeNas SMB
Time: 4:12
66MB/sec max. 37-50, 50-62, 18-30