S
S
Sergey Mavrodi2015-08-06 15:43:07
Programming
Sergey Mavrodi, 2015-08-06 15:43:07

Is it possible to programmatically increase the speed of the HDD?

The HDD, when writing/reading large blocks of data, does this at a speed of about 100 MB/s.
If he writes small blocks, then the speed drops to 1MB / s.
It is obvious to everyone why there is such a difference.
Let's think together how, in theory, it is possible to increase the speed.
Please answer why the proposed options are impossible, and adequately argue.
Options that come to my mind (sometimes funny):
- Add a few more heads to one pancake and competently organize their work. Maybe make one head work only on the FS index.
- Provide the hard drive with RAM and a battery. Write small blocks to the cache and, when the load decreases, transfer the cached data to the disk offline, so that even if the power fails, the data is written and the disk turns off, but maintains the memory state. Keep the FS index in RAM. Collect requests from different programs into a single buffer and calculate the optimal head path.
You can also discuss SSHD if you wish.
P.S. Do not offer SSD.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
M
Melkij, 2015-08-06
@kozachekx

Add a few more heads to one pancake and competently organize their work

Expensive. I don’t even stutter about the deterioration in the reliability of already consumables.
The drive has no idea about what it writes and what it reads. The controller tells him to write such and such a data block to such and such LBA.
Raid controller with battery and write-back cache.
SSHD is right here.
Happiness comes when you need to push more data onto the disk than the size of the cache.
SSD, by the way, is also here. They have a DRAM-cache completely soldered, now already under a gigabyte. And not all models have a protective capacitor; in the event of a power failure, supposedly already recorded data can be lost.
Index and so in the RAM. Query aggregation by the I/O scheduler is called. Made a very long time ago.

A
asd111, 2015-08-06
@asd111

Do not worry. The only thing they came up with for fast HDD operation is to use several HDDs in parallel using RAID.
They also use RAMDISK for fast work - when all or most of the information from the hard drive is stored in RAM - an expensive solution.
In the coming years, 3D XPOINT will be released, which will replace the HDD and SSD.
geektimes.ru/post/259576

P
Puma Thailand, 2015-08-06
@opium

Programmatically, you need to optimize the software that you write, let it not write in small files, but combine them with blobs of a hundred meters.

S
Sergey Mavrodi, 2015-08-06
@kozachekx

In short, everything that they could have already come up with, I will take ssd).
And about the cache of the screw, yes, somehow I forgot about it that it already exists, but it’s small, they probably calculated it and doing a big one is of little use.
Advise anyone who knows programs for caching IO operations in RAM, there are such programs, but it is difficult to draw a conclusion after reading the description which is optimal. What I read then the cache is stored and on command you can write it to the hard drive, but I didn’t find it to be written automatically when the HDD is not loaded.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question