POV-Ray : Newsgroups : povray.general : How can we speed up the saving process? : Re: How can we speed up the saving process? Server Time
25 Apr 2024 15:36:47 EDT (-0400)
  Re: How can we speed up the saving process?  
From: Alain Martel
Date: 10 Jul 2020 12:42:49
Message: <5f089a89$1@news.povray.org>
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-2023 Persistence of Vision Raytracer Pty. Ltd.