-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use multithreading when processing batches of thumbnails #19
Comments
By old Gallery i mean the oC7. Here the gallery also loaded/displayed line by line, on the first thumb gen, but core/thread/requests (for thumb gen) are filed in parallel, so you get full CPU usage on the server on all cores: i.e. during thumb gen of a single gallery ~4x the speed on a quadcore CPU. The new oC8 does only use a single core and does sequential thumb gen. Thank you :-) |
AssessmentOn oC7, each thumb was requested individually, which allowed PHP to process them in parallel. SolutionBy fixing the way batches are prepared and by lowering the amount of thumbnails asked in each request, it's possible to trigger parallel execution on the server, at the cost of using more HTTP requests A folder with 25 pictures is currently making 2 requests and nothing is happening until the first request for 20 thumbnail is completed. For maximum benefit, this has to be implemented #29 Want to back this issue? Post a bounty on it! We accept bounties via Bountysource. |
From 2.0.6, thumbnail batches are smaller, which should trigger parallel processing. |
Hi, compared to the old Gallery, this one does no longer split 1st preview generation into seperate threads/requests (~1/4 of speed or slower) and it does not load in IE11 (spinning wheel).
The text was updated successfully, but these errors were encountered: