Interrupting Linux PovRay traces

Interrupting Linux PovRay traces

Post by Stefan Viljoe » Sat, 05 Jan 2002 22:24:56



Hi all!

If I interrupt a Linux PovRay trace with Ctrl-Z (i. e. the process is
immediately stopped) does any pixels which have been traced since the last
write-to-disk get flushed and saved?

I am asking this as I sometimes have to quickly abandon a trace via Ctrl-Z
under Linux, as the particular trace is very slow and doing Ctrl-C has me
waiting about 15 minutes for the program to exit to the shell.

I am I actually throwing away progress by Ctrl-Z 'ing out after an 18 hour
trace and NOT doing Ctrl-C and waiting the extra half an hour for PovRay to
finish in its own time the one pixel and exit? I am using an abort count of
1 already.

Thanks!

Stefan

 
 
 

Interrupting Linux PovRay traces

Post by Francois Labrequ » Mon, 07 Jan 2002 22:37:43



> Hi all!

> If I interrupt a Linux PovRay trace with Ctrl-Z (i. e. the process is
> immediately stopped) does any pixels which have been traced since the last
> write-to-disk get flushed and saved?

No, since Ctrl-Z merely pauses the execution of a process.  Everything
stays in memory waiting for you to restart it.

Quote:> I am asking this as I sometimes have to quickly abandon a trace via Ctrl-Z
> under Linux, as the particular trace is very slow and doing Ctrl-C has me
> waiting about 15 minutes for the program to exit to the shell.

As above, Ctrl-Z doesn't "abandon" a render, it merely pauses it.

Besides, unless someone has just announced that the power was about to
be cut off, there's no reason for you to not issue a "bg" and let your
trace run in the background.

--
Francois Labreque | It's a combination of several *es:
     flabreque     | industrial robotics, female anatomy, and

    videotron.ca   |            - Chris Cunningham

 
 
 

Interrupting Linux PovRay traces

Post by M61MG7 » Tue, 08 Jan 2002 03:31:32



>I am I actually throwing away progress by Ctrl-Z 'ing out after an 18 hour
>trace and NOT doing Ctrl-C and waiting the extra half an hour for PovRay to
>finish in its own time the one pixel and exit? I am using an abort count of
>1 already.

        It is a suspend process command. Nothing lost.

        But out of curiosity, what distro are you using? It would be much
easier to switch desktops.

--
All about the evil revisionist.
http://www.giwersworld.org/holo2/holo-faq.phtml
        -- The Iron Webmaster, 77

 
 
 

Interrupting Linux PovRay traces

Post by Stefan Viljoe » Tue, 08 Jan 2002 16:24:07




> >I am I actually throwing away progress by Ctrl-Z 'ing out after an 18
hour
> >trace and NOT doing Ctrl-C and waiting the extra half an hour for PovRay
to
> >finish in its own time the one pixel and exit? I am using an abort count
of
> >1 already.

> It is a suspend process command. Nothing lost.

> But out of curiosity, what distro are you using? It would be much
> easier to switch desktops.

I am using a creaky old RedHat 7 - the problem is that we have quite fierce
lightning storms where I live, and I sometimes have to stop my system NOW -
not ten or fif* minutes later if a storm suddenly comes up.

Thanks for the info!

Stefan

 
 
 

Interrupting Linux PovRay traces

Post by M61G75 » Wed, 09 Jan 2002 19:56:51






>> >I am I actually throwing away progress by Ctrl-Z 'ing out after an 18
>hour
>> >trace and NOT doing Ctrl-C and waiting the extra half an hour for PovRay
>to
>> >finish in its own time the one pixel and exit? I am using an abort count
>of
>> >1 already.
>> It is a suspend process command. Nothing lost.
>> But out of curiosity, what distro are you using? It would be much easier
>> to switch desktops.
>I am using a creaky old RedHat 7 - the problem is that we have quite fierce
>lightning storms where I live, and I sometimes have to stop my system NOW -
>not ten or fif* minutes later if a storm suddenly comes up.

        If you are shutting off your computer, a suspended process is lost.

        I have a similar problem in Tampa, Florida, USA so I bought a UPS. A
cheap one mainly for the short power drops during a flash but it gives about
20 minutes on the occasion that power goes out and real surge suppression
instead of a little MOV wafer.

        If you can bring yourself to trust your computer, do the proper
interupt command for povray and just shut off your monitor. (It feels funny
at first but it works.) The UPS should last about twice as long with just
the computer and will shut down when the UPS shuts down. Then you just have
the extra time for a file check on reboot. And if you upgrade to 7.2 you get
ext3 which lets you bypass the file check on reboot.

--
Israel bound itself in international law to safeguard Palestinian lives and
property. Allowing one square inch of confiscation is an international
crime.
        -- The Iron Webmaster, 437

 
 
 

1. Povray LINUX vs Povray DOS

: Linux is definately slower...other processing going on.  However, with
: Linux, the raytracing can be a background task while you do real work.
: The DOS version dedicates the machine.  Running Povray under Windows
: or OS/2 kills the performance of both Povray and any other application
: that is running.

I can believe that POV under Windows is slow, but everything I've heard about
POV under OS/2 suggests that it's the fastest there is. Is this true or am I
hallucinating?

Happy tracing,
Andy
--
 !!!!    ^_^ (==============================================================)

!!!!!!! \ o /||------------------------------------------------------------||
  !!!!!/\____m|  Andy McConnell, System Co-Administrator of catt.ncsu.edu  ||
   !!!/__   |m| Visit Squirrel's World: http://www.catt.ncsu.edu/~squirrel ||
   !!!/  \__\||------------------------------------------------------------||

             (==============================================================)

2. a bug for tpic terminal

3. writing a simple ray tracing program for linux

4. At the end of my rope.......WinNT....

5. Is the 3DS v2.0 in the Autodesk Collection vastly inferior to the current v4.0?

6. ANNOUNCE: SVGA Linear Mode Programming Examples

7. ray tracing documentation esp. about povray

8. Tracing at very high Res in POVRay

9. Newbie Q: Ray tracing implicit surfaces in Povray 3.1

10. another POVRay-Trace - Anja.JPG (0/1)