POV-Ray : Newsgroups : povray.general : How can we speed up the saving process? : Re: How can we speed up the saving process? Server Time: 28 Sep 2020 21:34:52 GMT
  Re: How can we speed up the saving process?  
From: Kima
Date: 10 Jul 2020 18:30:00
Alain Martel <kua### [at] videotronca> wrote:
> 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.

You are right! I was able to reduce this period by changing the output format.
It is not a matter of compression but data handling since the shortest time was
to save as a lossy JPEG.

Anyhow, I should find a way to do this single-thread process in the background
while starting next rendering.


Post a reply to this message

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