NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Chewbacca
Jan 14, 2005Aspirant
How to increase write performance on ReadyNAS
You may notice that ReadyNAS may seem a bit slow on writes using the default configuration. There is a way to increase that write performance significantly.
First, you will need a Uninterruptable Power Supply (UPS) with a USB connection. It doesn't have to be a large one, just big enough to protect the data in case of the power failure. A 250VA unit will be more than adaquate. Plug the ReadyNAS in to the power plug in on the UPS, making sure you plug in to the protected outlet. Next you need to connect the USB connection from the UPS to USB connector on ReadyNAS. Now turn it on.
Once the UPS is connected, ReadyNAS will automatically turn on the Write Cache option on drives. For further increase of writes, turn off the full journaling option. You can do that by clicking on the System button. If you don't see the System button, make sure you click on the Advanced Control button first. Then click on the Performance tab on the top. Then check the second option, Disable full data journalling for RAID 5 volumes, and click apply.
You should now see a large improvement on write performance of ReadyNAS.
First, you will need a Uninterruptable Power Supply (UPS) with a USB connection. It doesn't have to be a large one, just big enough to protect the data in case of the power failure. A 250VA unit will be more than adaquate. Plug the ReadyNAS in to the power plug in on the UPS, making sure you plug in to the protected outlet. Next you need to connect the USB connection from the UPS to USB connector on ReadyNAS. Now turn it on.
Once the UPS is connected, ReadyNAS will automatically turn on the Write Cache option on drives. For further increase of writes, turn off the full journaling option. You can do that by clicking on the System button. If you don't see the System button, make sure you click on the Advanced Control button first. Then click on the Performance tab on the top. Then check the second option, Disable full data journalling for RAID 5 volumes, and click apply.
You should now see a large improvement on write performance of ReadyNAS.
41 Replies
Replies have been turned off for this discussion
- kmcgrailAspirant
yoh-dah wrote: kmcgrail wrote:
The USB cable will allow monitoring of the UPS status so the ReadyNAS can shutdown gracefully on batter low. You'll need to use a UPS with a USB connection, and you'll need to use a UPS from our compatibility list -- see http://www.readynas.com/?page_id=76
I was wondering if there had been any follow-up on this issue. I had spoken to Support and explained that we are at a collocation facility with UPS/Generator/ATS but no USB connection. I'd like to turn the write-cache on and you cannot plug in UPSes at most collocation facilities.
Unfortunately, that was a long time ago and I'd like to reiterate my request for a manual, root-ssh-required way to enable the write-cache -or- a way to do it in the advanced interface. I'm running 4.2.5 and 4.1.6 across the board.
regards,
KAM - Retired_MemberCommand
hdparm -W1 /dev/hdc
will enable write caching. I haven't tested what happens on reboot yet, but I would guess that it will revert to being disabled. To enable on boot create shell scriptvi /etc/init.d/hdparm
make sure that it is executable
#! /bin/sh
#
# hdparm - turn on write cache
hdparm -W1 /dev/hdcchmod /etc/init.d/hdparm +x
and then add a symlink to /etc/rcS.dln -s /etc/init.d/hdparm /etc/rcS.d/S07hdparm
- kmcgrailAspirant
giblet1973 wrote: Command hdparm -W1 /dev/hdc
will enable write caching.
Great point! Thanks. Will give this a shot! drewpc wrote: If I use the ReadyNAS 1000 in a datacenter environment (where all AC power is on a UPS), do I have to have a UPS with a USB connection in order to get write-caching to work?
I also use the ReadyNAS 1000 but is does not seem to work well in my lap. Is there anything wrong with my network? :(- topo_nasAspirantAlso, if you turn off checkpointing when you don't need it, this will improve write performance as well. viewtopic.php?f=21&t=48999#p280494
- rapunzelAspirantinformative!!!!!!!!!!!!!!!!!!
- davidr1LuminaryHi
Ultra 2
My Left and Right USB ports are connected to USB drives.
Presumably I can't connect a usb hub to a port so presumably that means I can run it off the UPS but not monitor the UPS?
David - StephenBGuru - Experienced User
You should have started your own thread (generally we don't resurrect ancient history).davidr wrote: Hi
Ultra 2
My Left and Right USB ports are connected to USB drives.
Presumably I can't connect a usb hub to a port so presumably that means I can run it off the UPS but not monitor the UPS?
David
Anyway, the USB hub should work if it is independently powered (http://www.readynas.com/kb/faq/hardware ... s_usb_port) - davidr1LuminaryThanks for your reply, StephenB
You should have started your own thread (generally we don't resurrect ancient history).
My apologies - different forums different procedures. Noted for the future. I notice other threads are guilty too, then.
So I would end up with:
Left port: usb drive
Right Port: usb hub:
USB drive
UPS
And so that should be OK to monitor the UPS and use the USB drive at the same time? Just want to be clear ...
David - StephenBGuru - Experienced UserI think that should work, though the USB hub will need to be connected to the UPS, otherwise monitoring would be lost when power fails. I think I would try putting both drives on the USB hub, and keeping the UPS on its own port.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!