Friday, December 7, 2018

linux - How does disk size affect performance of a computer?


We run some applications in our Red Hat 5 servers. An application running on client machines accesses on a mount on this server. This application is used by users via X on windows PCs. There are data of 2009, 2010 and 2011. But they are not processed and not used. We sometimes access old data for preparing reports etc. We add new data each month and work on this new data every month. For example in January 2012 new data will be loaded on server and it will be processed by an application. But mount size is 80 GB and it often gets full. And we delete some unnecessary files from previous months. But no unnecessary files are left. Now we have 2 options: Either increase the disk size, or move the old data to another disk.
I couldn't decide which option I should choose. I would like to know which option will be better for the application's performance.


Old data is around 70 GB. Current disk capacity is 80 GB.
Which is better in terms of performance and readability:


1- Move old data to another disk and so that there will be around 7 GB of data in current disk and 73 GB free disk space.
2- Increase capacity of current mount to 500 GB disk capacity and there will be ~490 GB free disk space.


On which option do you think our application may run faster?


Regards


Answer



Using a new disk will be faster because drive technology gets better over time - including caching and seek speeds.


But an increase in capacity brings its own performance increases too, simply because of higher data density.


Because for a given revolution of a disk, the heads on a higher capacity drive will pass over more data than a lower capacity drive, and so can transfer more data per revolution. There are many other factors at play here, but this one is significant enough to go with the second option.


No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...