POV-Ray : Newsgroups : povray.general : How do I use most of my RAM for tracing? Server Time
15 Oct 2026 02:01:03 EDT (-0400)
  How do I use most of my RAM for tracing? (Message 1 to 19 of 19)  
From: Tim Nikias
Subject: How do I use most of my RAM for tracing?
Date: 28 Apr 2002 04:53:55
Message: <3CCBB87C.AA2E0766@gmx.de>
I've looked at the documentation, but don't get the
knack.

How do I set POV-Ray to use most my RAM, the
+B option needs to be set, or what?

Or is +B just for buffering instead of writing to disk only
for the finished parts of the image?

I'm just wondering if POV-Ray (oh, for Windows, by the
way) uses the entire RAM by itself or has a certain
limitation (like using only 90% or such)...

Thanks for any help in advance!

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde


Post a reply to this message

From: Christoph Hormann
Subject: Re: How do I use most of my RAM for tracing?
Date: 28 Apr 2002 05:14:49
Message: <3CCBBD89.B31F5983@gmx.de>
Tim Nikias wrote:
> 
> [...]
> 
> I'm just wondering if POV-Ray (oh, for Windows, by the
> way) uses the entire RAM by itself or has a certain
> limitation (like using only 90% or such)...
> 
> Thanks for any help in advance!

POV-Ray uses as much memory as it *needs*, not more, not less. If the OS
does not supply enough it will stop with an error. 

How much memory it needs obviously depends on the scene.

On Windows systems you have the limitation of 2 GB of maximum memory that
can be supplied by the OS to a program, no matter whether physical memory
or not.  

Christoph

-- 
POV-Ray tutorials, IsoWood include,                 
TransSkin and more: http://www.tu-bs.de/~y0013390/  
Last updated 26 Apr. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Tim Nikias
Subject: Re: How do I use most of my RAM for tracing?
Date: 28 Apr 2002 06:01:53
Message: <3CCBC868.5DE146B4@gmx.de>
Ah, okay, thanks. I thought the +B option could
be used for something like "assign all RAM to POV"
or such.

Christoph Hormann wrote:

> POV-Ray uses as much memory as it *needs*, not more, not less. If the OS
> does not supply enough it will stop with an error.
>
> How much memory it needs obviously depends on the scene.
>
> On Windows systems you have the limitation of 2 GB of maximum memory that
> can be supplied by the OS to a program, no matter whether physical memory
> or not.
>
> Christoph

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde


Post a reply to this message

From: Warp
Subject: Re: How do I use most of my RAM for tracing?
Date: 28 Apr 2002 07:34:05
Message: <3ccbde2d$1@news.povray.org>
Tim Nikias <tim### [at] gmxde> wrote:
> Ah, okay, thanks. I thought the +B option could
> be used for something like "assign all RAM to POV"
> or such.

  If POV-Ray needs 2 MB of memory for what it is doing, why should it
allocate all the (eg.) 256 MB available? What would it do with the extra
memory?

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: Tim Nikias
Subject: Re: How do I use most of my RAM for tracing?
Date: 28 Apr 2002 08:06:01
Message: <3CCBE582.692A9517@gmx.de>
No no! I meant I have 512 MB RAM, and sometimes it
seems that the disk is swapping although peak level
is somewhat lower (I know that windows etc need
RAM too, but I feel like there's some RAM unused
while swapping).

But that's probably just Microsoft at work, not POV-Ray...

Warp wrote:

>   If POV-Ray needs 2 MB of memory for what it is doing, why should it
> allocate all the (eg.) 256 MB available? What would it do with the extra
> memory?

Perhaps POV can think, has an AI and is the smartest programm in
the universe - but without its own RAM, there's no space
for the brain-storage.. ;-)
--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde


Post a reply to this message

From: Mike Williams
Subject: Re: How do I use most of my RAM for tracing?
Date: 28 Apr 2002 15:20:38
Message: <v2FggAAejEz8Ew2r@econym.demon.co.uk>
Wasn't it Tim Nikias who wrote:
>No no! I meant I have 512 MB RAM, and sometimes it
>seems that the disk is swapping although peak level
>is somewhat lower (I know that windows etc need
>RAM too, but I feel like there's some RAM unused
>while swapping).

I've heard that Windows can sometimes be a little reluctant to release
some of the memory it has grabbed for caching files. There are some
freeware programs that can be used to persuade it to release the file
cache when the memory is needed by other programs.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

From: Hugo
Subject: Re: How do I use most of my RAM for tracing?
Date: 28 Apr 2002 18:48:57
Message: <3ccc7c59@news.povray.org>
> >No no! I meant I have 512 MB RAM, and sometimes it
> >seems that the disk is swapping although peak level
> >is somewhat lower (I know that windows etc need
> >RAM too, but I feel like there's some RAM unused
> >while swapping).

Now hear my story! I have 128 mb RAM and 2 OS's but I tend to use Win98
rather than Win2000 (has to do with my palette of software)... SOO, when
Win98 is finished loading after booting, I only have 43 mb left! Those
quickly run off by opening just 2 small programs or so....

> I've heard that Windows can sometimes be a little reluctant to release
> some of the memory it has grabbed for caching files. There are some
> freeware programs that can be used to persuade it to release the file
> cache when the memory is needed by other programs.

I use such a program - actually 2.. "Cachemaster" for disk caches, and
"RAMpage" for administrating memory..

Regards,
Hugo


Post a reply to this message

From: Mark Wagner
Subject: Re: How do I use most of my RAM for tracing?
Date: 29 Apr 2002 03:53:48
Message: <3cccfc0c@news.povray.org>
Hugo wrote in message <3ccc7c59@news.povray.org>...
>Now hear my story! I have 128 mb RAM and 2 OS's but I tend to use Win98
>rather than Win2000 (has to do with my palette of software)... SOO, when
>Win98 is finished loading after booting, I only have 43 mb left! Those
>quickly run off by opening just 2 small programs or so....


You should have 56 MB left after Windows starts up.  Windows uses half your
available physical memory, plus an additional 8 MB.  Are you loading some
additional programs at startup?

--
Mark

The Universe is expanding.
The budget for its exploration is shrinking.


Post a reply to this message

From: Hugo
Subject: Re: How do I use most of my RAM for tracing?
Date: 29 Apr 2002 04:52:48
Message: <3ccd09e0@news.povray.org>
> You should have 56 MB left after Windows starts up.  Windows uses half
your
> available physical memory, plus an additional 8 MB.  Are you loading some
> additional programs at startup?

Nothing that I can imagine needs 13 mb.. I only have a few common things at
startup; drivers for keyboard, mouse, sound, graphicscard and the (very
small) freeware RAMpage program.. The "cachemaster" (also freeware) even
forces unload of all unused DLL files.

But even when you say 56, I don't understand these days.. If you ever had an
Amiga computer, maybe you remember it's "windows-like" OS that ran on 512
KB... And I don't see why todays Windows need SO much physical memory.. I
really think Microsoft just expands memory because of some odd deal with the
RAM chip manufacturers.

Regards,
Hugo


Post a reply to this message

From:
Subject: Re: How do I use most of my RAM for tracing?
Date: 29 Apr 2002 04:56:38
Message: <2k2qcu8tg7edd2ut5gt26qp1bvhg0cg859@4ax.com>
On Mon, 29 Apr 2002 11:02:03 +0200, "Hugo" <hua### [at] post3teledk> wrote:
>why todays Windows need SO much physical memory..

for gadgets


Post a reply to this message

From: Brian Elliott
Subject: Re: How do I use most of my RAM for tracing?
Date: 29 Apr 2002 10:46:53
Message: <MPG.1737f9d2c75f9bd1989680@news.povray.org>
In article <3CCBE582.692A9517@gmx.de>, tim### [at] gmxde says...
> No no! I meant I have 512 MB RAM, and sometimes it
> seems that the disk is swapping although peak level
> is somewhat lower (I know that windows etc need
> RAM too, but I feel like there's some RAM unused
> while swapping).
> 
> But that's probably just Microsoft at work, not POV-Ray...
> 
Tim, maybe what you are looking for is this:

This is confirmed for Win98 BTW.
In your system.ini file, section
[386Enh]
ConservativeSwapfileUsage=1

Yes, Windows DOES lay heavily into disk swap when you still have heaps of 
unused physical RAM.  This parameter will set that straight.  Your swap 
file (and disk) will stay unused until you really do exhaust your RAM.

Cheers,
  Brian.
--


Post a reply to this message

From: Tim Nikias
Subject: Re: How do I use most of my RAM for tracing?
Date: 29 Apr 2002 11:59:39
Message: <3CCD6DBE.990E3F41@gmx.de>
Thank you! I added that line, supposing that thats what you
implied when stating "this parameter will set that straight".

This'll probably help a lot in other cases with swapping, too...

I'm happy now. :-)

Brian Elliott wrote:

> Tim, maybe what you are looking for is this:
>
> This is confirmed for Win98 BTW.
> In your system.ini file, section
> [386Enh]
> ConservativeSwapfileUsage=1
>
> Yes, Windows DOES lay heavily into disk swap when you still have heaps of
> unused physical RAM.  This parameter will set that straight.  Your swap
> file (and disk) will stay unused until you really do exhaust your RAM.
>
> Cheers,
>   Brian.

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde


Post a reply to this message

From: Warp
Subject: Re: How do I use most of my RAM for tracing?
Date: 29 Apr 2002 16:08:51
Message: <3ccda852@news.povray.org>
Brian Elliott <bel### [at] gilcomau> wrote:
> In your system.ini file, section
> [386Enh]
> ConservativeSwapfileUsage=1

  By the way, there's a tool which comes with windows which makes managing
(ie. disabling and enabling commands) and editing these system files really
easy. To run the program go to Start->Run and write "msconfig".
  I seldom praise Microsoft for anything, but here I must make an exception.
This program is just plain great.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: N Shomber
Subject: Re: How do I use most of my RAM for tracing?
Date: 29 Apr 2002 23:00:36
Message: <3cce08d4@news.povray.org>
> But even when you say 56, I don't understand these days.. If you ever had
an
> Amiga computer, maybe you remember it's "windows-like" OS that ran on 512
> KB... And I don't see why todays Windows need SO much physical memory.. I
> really think Microsoft just expands memory because of some odd deal with
the
> RAM chip manufacturers.

In fact, the Amiga even had everything built-in so no extra ram on cards or
such!  And some Amigas could even do 24bit color at 640x400 on that.
(A1200)

My favorite reason for Micro-bloat is the method of "just keep adding
code... it will fix itself eventually.  "

N Shomber


Post a reply to this message

From: Tom Melly
Subject: Re: How do I use most of my RAM for tracing?
Date: 30 Apr 2002 08:41:54
Message: <3cce9112$1@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote in message news:3ccda852@news.povray.org...
>
>   I seldom praise Microsoft for anything, but here I must make an exception.
> This program is just plain great.
>

... which is why they removed it from 2000?


Post a reply to this message

From: Warp
Subject: Re: How do I use most of my RAM for tracing?
Date: 30 Apr 2002 09:28:28
Message: <3cce9bfb@news.povray.org>
Tom Melly <tom### [at] tomandlucouk> wrote:
> ... which is why they removed it from 2000?

  It was *too* good? ;)

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: N Shomber
Subject: Re: How do I use most of my RAM for tracing?
Date: 30 Apr 2002 19:14:25
Message: <3ccf2551@news.povray.org>
> ... which is why they removed it from 2000?


They did bring is back in XP Pro and Microsoft also created something very
useful called System Restore

N Shomber


Post a reply to this message

From: Mark Wagner
Subject: Re: How do I use most of my RAM for tracing?
Date: 1 May 2002 01:43:51
Message: <3ccf8097@news.povray.org>
Hugo wrote in message <3ccd09e0@news.povray.org>...
>> You should have 56 MB left after Windows starts up.  Windows uses half
>your
>> available physical memory, plus an additional 8 MB.  Are you loading some
>
>> additional programs at startup?

>But even when you say 56, I don't understand these days.. If you ever had
an
>Amiga computer, maybe you remember it's "windows-like" OS that ran on 512
>KB... And I don't see why todays Windows need SO much physical memory.. I
>really think Microsoft just expands memory because of some odd deal with
the
>RAM chip manufacturers.


The "plus 8 MB" is for Windows itself.  The "half of all physical memory" is
for the disk cache, the font cache, the filename cache, the directory cache,
etc.  All these caches get moved out to virtual memory if you have a program
that needs a lot of memory.

--
Mark

The Universe is expanding.
The budget for its exploration is shrinking.


Post a reply to this message

From: Brian Elliott
Subject: Re: How do I use most of my RAM for tracing?
Date: 1 May 2002 08:22:07
Message: <MPG.173a7ae4d6febda1989681@news.povray.org>
In article <v2F### [at] econymdemoncouk>, mik### [at] nospamplease 
says...
> Wasn't it Tim Nikias who wrote:
> >No no! I meant I have 512 MB RAM, and sometimes it
> >seems that the disk is swapping although peak level
> >is somewhat lower (I know that windows etc need
> >RAM too, but I feel like there's some RAM unused
> >while swapping).
> 
> I've heard that Windows can sometimes be a little reluctant to release
> some of the memory it has grabbed for caching files. There are some
> freeware programs that can be used to persuade it to release the file
> cache when the memory is needed by other programs.
> 
> 

Hugo and Mark have made reference to how so much extra memory just gets 
gobbled up the instant you install another line of RAM.  I didn't realise 
it was actually one half of all RAM, but it figures with my empirical 
observations.

You have to really ask whether Windows is wasting your money by swiping 
128MB or 256MB of your RAM for caches.  These are PCs, not fileservers 
nor minicomputers!

Again for the Win98 users, you can set the cache to a size of your 
choosing.  (BTW I agree with Warp: MSConfig is a great utility for 
managing this stuff and what is autoloaded by your registry!)

Again in the system.ini file, put in some entries like this:

[vcache]
MinFileCache=16384
MaxFileCache=16384

If you don't have a [vcache] tag, place it after the [386Enh] section.  
You may choose other cache sizes, but they must be binary powers.  They 
are values in kBytes, so the above clamps your cache to 16MB, with no 
growth nor shrinkage.  I think that as single-user stations, few of us 
would find any real performance gain with a cache bigger than 32MB.

Cheers,
    Brian.
-- 
bel### [at] gilcomau


Post a reply to this message

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