0

I have a VPS in cloud environment based on XEN Virtualization platform.

/etc/fstab looks like that:

LABEL=PRGMRDISK1   /    ext3    errors=remount-ro       0       0

As far as I know IO can pretty easily become a bottleneck if some other VPS neighbor will use it intensively(IO bandwidth is a shared resource for multiple guest VPS).

Can I add noatime,nodiratime to /etc/fstab partition declaration to save some IO load? Will it work?

1

It is recommended to use noatime and nodiratime in your domU indeed, also it's good to have some other tweaks in mind, here's a quick list:

In domU (Xen guest):

  • In fstab have noatime,nodiratime.
  • Change the default scheduler to noop (add elevator=noop to your kernel boot parameters).

In dom0 (Xen host):

  • In fstab have noatime,nodiratime.
  • Change the default scheduler to anticipatory (add elevator=anticipatory to your kernel boot parameters).

To get even more IO throughput you can use other quirks as using LVM volumes to mount straight into the XEN host and stuff like that, but for starters those tricks should give you good enough IO performance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.