marcusmarcus
Explorer
- Joined
- May 27, 2011
- Messages
- 89
Hyper-threading and Prefetch Performance
Decided to do some tweaking on my system to get as much speed as I can out of it. I used totusoft.com's LAN speed Test utility to write a 1GB file to my freenas machine from my desktop and read it back. I decided on 1 GB as most of what I'll be transferring to and from the machine are movies that are 700MB to 1GB in size. I ran the test 5 times after every change I made and averaged the results. Here is what I found out on my system
Hyper-threading enabled and prefetch enabled: 216Mbps write and 722Mbps read
Hyper-threading enabled and prefetch disabled: 174Mbps write and 708Mbps read
Hyper-threading disabled and prefetch enabled: 400Mbps write and 673Mbps read
Hyper-threading disabled and prefetch disabled: 389Mbps write and 642Mbps read
Prefetching setting did not give me much of a suprise but hyperthreading did. Apparently FreeNAS does take advantage of HT when reading but not when writing. Looks like I will be disabling my HT for now, hopefully future versions of FreeNAS make better use of HT but so far I am happy with the performance I am getting from my FreeNAS system.
Also to note: I did try enabled "Large RW" and "AIO" one at a time and both together. Large RW did improve my write speed but my read speed stayed the same. AIO slowed down both read and write, especially when Large RW was enabled with it. So my best performance was achieved by disabling hyper-threading and AIO and enabling Prefetch and Large RW. Hope this helps some of you.
EDIT: Here are the results of my CIFS settings with prefetching enabled and HT disabled
Large RW disables and AIO disabled: 225Mbps write and 688Mbps read
Large RW enabled and AIO disabled: 400Mbps write and 673Mbps read
Large RW disables and AIO enabled: 214Mbps write and 433Mbps read
Large RW enabled and AIO enabled: 364Mbps write and 445Mbps read
I've bolded my optimal settings
Decided to do some tweaking on my system to get as much speed as I can out of it. I used totusoft.com's LAN speed Test utility to write a 1GB file to my freenas machine from my desktop and read it back. I decided on 1 GB as most of what I'll be transferring to and from the machine are movies that are 700MB to 1GB in size. I ran the test 5 times after every change I made and averaged the results. Here is what I found out on my system
Hyper-threading enabled and prefetch enabled: 216Mbps write and 722Mbps read
Hyper-threading enabled and prefetch disabled: 174Mbps write and 708Mbps read
Hyper-threading disabled and prefetch enabled: 400Mbps write and 673Mbps read
Hyper-threading disabled and prefetch disabled: 389Mbps write and 642Mbps read
Prefetching setting did not give me much of a suprise but hyperthreading did. Apparently FreeNAS does take advantage of HT when reading but not when writing. Looks like I will be disabling my HT for now, hopefully future versions of FreeNAS make better use of HT but so far I am happy with the performance I am getting from my FreeNAS system.
Also to note: I did try enabled "Large RW" and "AIO" one at a time and both together. Large RW did improve my write speed but my read speed stayed the same. AIO slowed down both read and write, especially when Large RW was enabled with it. So my best performance was achieved by disabling hyper-threading and AIO and enabling Prefetch and Large RW. Hope this helps some of you.
EDIT: Here are the results of my CIFS settings with prefetching enabled and HT disabled
Large RW disables and AIO disabled: 225Mbps write and 688Mbps read
Large RW enabled and AIO disabled: 400Mbps write and 673Mbps read
Large RW disables and AIO enabled: 214Mbps write and 433Mbps read
Large RW enabled and AIO enabled: 364Mbps write and 445Mbps read
I've bolded my optimal settings