POV-Ray : Newsgroups : povray.general : How can we speed up the saving process? : Re: How can we speed up the saving process? Server Time: 1 Oct 2020 01:59:23 GMT
  Re: How can we speed up the saving process?  
From: Alain Martel
Date: 10 Jul 2020 16:42:49
Le 2020-07-10 à 00:19, Kima a écrit :
> I create a series of simple 4K scenes with 16/32 cores/threads. Each takes 10s
> from which the parsing process is <1s, and the rendering process is 9s.
> 
> In the rendering time, my CPU threads are used in the first 3s (technically, 1s
> as it is a peak). This is exactly the period in which the temporary file
> "pov-state" exists.
> 
> It takes about 5s to save output.png when almost no CPU resource is used.
> Obviously, I hope to reduce this period.
> 

Those 5 seconds are almost entirely consecrated to the encoding and 
compression of the PNG file with only a small bit actually used to 
access the drive. It's almost all single thread, sequential data access, 
analysis and manipulation.
I'm afraid that it can't get reduced by much, unless you are willing to 
reduce the compression factor, resulting in a larger file.


Post a reply to this message

Copyright 2003-2008 Persistence of Vision Raytracer Pty. Ltd.