Hey,
my NAS serves as a file storage for webservers, and its spec is:
the problem is that the server itself, basically stores web files (mostly PHP and CSS) files, for 1000s of domains.
we are talking about the actual /home directory of each domain:
* /home/web1.com/{Wordpress files}
* /home/web2.com/{Joomla files}
* /home/web3.com/{Wordpress files}
* /home/web4.com/{Wordpress files}
* /home/web5.com/{Joomla files}
* /home/web5.com/{Drupal files}
etc...
{the /home partition itself is being NFSd to the NAS}
so we are talking about lots of small random reads (let's leave aside writes for the moment).
I am getting iowait from the client side (which don't seem to be network) and zpool iostat on the server shows and average of < 30Mb/s.
before looking into improvements (more RAM / L2ARC device / SSD pool ?), I would like to actually find the bottleneck...
what can I do to test this out, and see where the problem is?
{if possible, I'd like to start locally, directly on the NAS, to rule out network/nfs issues/settings}
thanks!
my NAS serves as a file storage for webservers, and its spec is:
- 4Core E5620 CPU
- 24 GB of ECC RAM
- pool = 2 vdev x 6 300GB SAS (10K) < 3TB of usable space
- 2 x Intel Gbit NICs
the problem is that the server itself, basically stores web files (mostly PHP and CSS) files, for 1000s of domains.
we are talking about the actual /home directory of each domain:
* /home/web1.com/{Wordpress files}
* /home/web2.com/{Joomla files}
* /home/web3.com/{Wordpress files}
* /home/web4.com/{Wordpress files}
* /home/web5.com/{Joomla files}
* /home/web5.com/{Drupal files}
etc...
{the /home partition itself is being NFSd to the NAS}
so we are talking about lots of small random reads (let's leave aside writes for the moment).
I am getting iowait from the client side (which don't seem to be network) and zpool iostat on the server shows and average of < 30Mb/s.
before looking into improvements (more RAM / L2ARC device / SSD pool ?), I would like to actually find the bottleneck...
what can I do to test this out, and see where the problem is?
{if possible, I'd like to start locally, directly on the NAS, to rule out network/nfs issues/settings}
thanks!