Friday, May 1, 2015

hard drive - Linux benchmark SSD vs HDD



I wonder if there is any performance difference when using SSD as the main Hard drive rather than mounting it to be used by different applications on the server. For example using a command line program which caches files over the mounted SSD.




In other words: does linux kernel preform faster over SSD than over normal HDD?



OS: CentOS 64-bit


Answer



The kernel itself doesn't need to access the disk, ever. Except maybe for swap, if configured.



That being said, if you don't start and stop applications on a regular basis (e.g. on a workstation), you won't really benefit from an SSD's speed. To be precise, if we're talking about a server system, you're better off putting regularly accessed files (databases, web hosting files, temporary files, ...) on the SSD.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...