Page 1 of 1

0.69 Linux - Improve speed of Loading lot of files

Posted: Mon Oct 20, 2014 9:23 pm
by Roumano
In case of load lot of files (example of load 1000 pictures in a specific tags or view all resursifs)

It's taking lot of time (like 1 or 2 minutes)

My hard-disk is not highly used
but only 1 (per 8 thread/cpu) is used/busy

It's will be nice if it's can parallelized to remove the bottleneck ;)

It's maybe not specific at Linux version

Re: 0.69 Linux - Improve speed of Loading lot of files

Posted: Mon Oct 27, 2014 10:47 am
by m.Th.
Wait, wait, wait...

Are you SURE that a parallel access to storage will make the things faster??

If we're speaking about HDDs then the answer is a big "NO" - the things will go way slower. To see it for yourself, copy a bunch of files from A to B on the same HDD. Write down the time taken. Now split the same bunch of files in 4-5 groups and try to copy them SIMULTANEOUSLY from A to B - you'll see that the time is way bigger.

For SSDs, indeed, theoretically 3-4 I/O threads will speedup the read time, however the thing will go worse when it comes about coordinating the thumbnails draw on screen and storing them into DB. However I'll approve this if it is easy to do it.

For more effective ways to speedup your app read at

http://www.xnview.com/wiki/index.php/Xn ... e_solution