Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
#4393276 - 12/05/17 01:55 AM How much VRAM does WOFF use?  
Joined: Nov 2014
Posts: 3,696
Fullofit Offline
Senior Member
Fullofit  Offline
Senior Member

Joined: Nov 2014
Posts: 3,696
Ajax, ON
This much I guess?

[Linked Image]

Despite having 6GB on the card only 3GB seem to be used as indicated on screen and in the logs and the rest goes to slower (?) virtual memory. Is that right?
If so, is it possible and is there any sense removing this limit to eliminate virtual memory calls? Probably a DX9 (or DX8) limitation.
Just looking to squeeze that extra little drop of performance that seems to be just out of reach.

Attached Files Shot12-04-17-19-57-46.jpg

"Take the cylinder out of my kidneys,
The connecting rod out of my brain, my brain,
From out of my arse take the camshaft,
And assemble the engine again."
#4393308 - 12/05/17 01:33 PM Re: How much VRAM does WOFF use? [Re: Fullofit]  
Joined: Jan 2009
Posts: 4,433
Hellshade Online content
Hellshade
Hellshade  Online Content
Hellshade
Senior Member

Joined: Jan 2009
Posts: 4,433
Florida
Good find, Fullofit. I would love to see it take full advantage of all available VRAM if possible. Maybe Polovski, Winder or Ankor would know.


Flying Wings Over Flanders Fields: Between Heaven & Hell II
videos at www.youtube.com/hellshade68

#4393317 - 12/05/17 02:48 PM Re: How much VRAM does WOFF use? [Re: Fullofit]  
Joined: Sep 2012
Posts: 418
AnKor Offline
Member
AnKor  Offline
Member

Joined: Sep 2012
Posts: 418
Russia
This is "free" memory that is reported in logs on on "Z" key info.
You can see maximum available memory near the beginning of EnhancedShaders.log, something like this:
FakeDevice::FakeDevice - Available Texture Memory 4076 MB
Then if you subtract free mem from this available mem, you will get the idea how much is used.

I don't think the GPU memory limits WOFF performance on any more or less modern GPU. Previously I've been running WOFF on very old 1Gb GTX285 and now I'm on 4Gb GTX970 and while the latter is obviously much faster, the former wasn't that bad. So I don't think it really benefits from more than 2Gb.

#4393320 - 12/05/17 03:02 PM Re: How much VRAM does WOFF use? [Re: Fullofit]  
Joined: May 2012
Posts: 1,352
lederhosen Offline
Member
lederhosen  Offline
Member

Joined: May 2012
Posts: 1,352
Germany
hmmm. mine never seems to go much above 1900. Perhaps settings etc may use more, but its a very old Sim engine.


make mistakes and learn from them

I5 4440 3.1Ghz, Asrock B85m Pro3, Gtx 1060 3GB
#4393332 - 12/05/17 03:49 PM Re: How much VRAM does WOFF use? [Re: Fullofit]  
Joined: Jan 2009
Posts: 4,433
Hellshade Online content
Hellshade
Hellshade  Online Content
Hellshade
Senior Member

Joined: Jan 2009
Posts: 4,433
Florida
Ah ok. Thanks AnKor. Well its always worth a quick look! Who knows, maybe WOTR will have some nice improvements to the underlying engine that could be ported back to WOFF UE someday. One can always dream...


Flying Wings Over Flanders Fields: Between Heaven & Hell II
videos at www.youtube.com/hellshade68

#4393408 - 12/06/17 01:36 AM Re: How much VRAM does WOFF use? [Re: Fullofit]  
Joined: Nov 2014
Posts: 3,696
Fullofit Offline
Senior Member
Fullofit  Offline
Senior Member

Joined: Nov 2014
Posts: 3,696
Ajax, ON
Thanks for looking into it AnKor, but for a 6GB card, 3GB used or 3GB available means the same thing - that the other 3 GB are just sitting around doing nothing, while WOFF is using virtual memory instead. That is the bit (pardon the pun) that I'm unclear about. Why use virtual memory (I assume which is slower than real memory) if you have plenty of DDR5 still available? Could the swapping in and out of the virtual memory be causing some of the stutters? Just thinking aloud.


"Take the cylinder out of my kidneys,
The connecting rod out of my brain, my brain,
From out of my arse take the camshaft,
And assemble the engine again."
#4393427 - 12/06/17 06:46 AM Re: How much VRAM does WOFF use? [Re: Fullofit]  
Joined: Jul 2010
Posts: 2,079
JJJ65 Offline
Member
JJJ65  Offline
Member

Joined: Jul 2010
Posts: 2,079
Czech Rep.
I think that this "virtual memory" is in fact RAM operational memory used by game variables, engine, not by graphic engine. CFS3 performance depends heavily on CPU and CPU works with RAM (while GPU with VRAM). You can not load and run the entire application just in video (DDR5) memory.
Just my 2 cents.

#4393428 - 12/06/17 06:50 AM Re: How much VRAM does WOFF use? [Re: Fullofit]  
Joined: Sep 2012
Posts: 418
AnKor Offline
Member
AnKor  Offline
Member

Joined: Sep 2012
Posts: 418
Russia
VRAM can be used only for stuff related to rendering (well, starting with DX11 it is possible to run general purpose calculations on GPU, but it is still only usable for certain cases, and we are in DX9 here anyway).
The main consumer is textures like terrain and aircraft skins. My shaders also use about 100Mb for creating shadows and about 60Mb for caching aircraft models. By the way model cache is one of the first thing I implemented for DX9 and it greatly improved performance, original CFS3 was uploading the same 3D models for each frame.
I could probably increase the cache size these, but the way DX9 works it may lead to instability and current cache seems to work ok.
I could increase maximum shadow resolution, but it obvious won't improve FPS.
I could use some memory to add better post effects. This is something I considered, but again this is only image quality improvement, and will likely reduce FPS.

I agree that "free memory is a wasted memory", but there's actually nothing I could use additional VRAM for.

Added.
Yes, JJJ65, virtual memory is ordinary RAM which is mainly used for everything including physics engine, AI, etc.
Some rendering data also has to be stored in ordinary RAM before it gets uploaded into VRAM. For example, CFS3 generates terrain mesh in RAM and then loads it into VRAM.

Last edited by AnKor; 12/06/17 06:55 AM.
#4393437 - 12/06/17 10:19 AM Re: How much VRAM does WOFF use? [Re: Fullofit]  
Joined: Nov 2014
Posts: 3,696
Fullofit Offline
Senior Member
Fullofit  Offline
Senior Member

Joined: Nov 2014
Posts: 3,696
Ajax, ON
Thank you Gentlemen for a thorough explanation. Now everything is clear. “Virtual” is just a misnomer.


"Take the cylinder out of my kidneys,
The connecting rod out of my brain, my brain,
From out of my arse take the camshaft,
And assemble the engine again."

Moderated by  Polovski 

Quick Search
Recent Articles
Support SimHQ

If you shop on Amazon use this Amazon link to support SimHQ
.
Social


Recent Topics
CD WOFF
by Britisheh. 03/28/24 08:05 PM
Carnival Cruise Ship Fire....... Again
by F4UDash4. 03/26/24 05:58 PM
Baltimore Bridge Collapse
by F4UDash4. 03/26/24 05:51 PM
The Oldest WWII Veterans
by F4UDash4. 03/24/24 09:21 PM
They got fired after this.
by Wigean. 03/20/24 08:19 PM
Grown ups joke time
by NoFlyBoy. 03/18/24 10:34 PM
Anyone Heard from Nimits?
by F4UDash4. 03/18/24 10:01 PM
RIP Gemini/Apollo astronaut Tom Stafford
by semmern. 03/18/24 02:14 PM
Powered by UBB.threads™ PHP Forum Software 7.6.0