PDA

View Full Version : Why the system "PF usage" increased markedly when I create a huge size "VBO"



pango
06-05-2007, 06:37 AM
I found a very strange phenomena in my work:when my program create a huge size

VBO(>10M),the "PF usage" displayed in "Task Manager"(below "Performance" tab)

is increased markedly,and the increased size is same as the size of VBO,such as

I create a 100M bytes VBO,I found the "PF usage" is increased 100M.I think the

"PF usage" increased markedly means the system memory is not enough,but In

"Process" tab,I can not find a process that consume huge size memory,and my

program only use 8M system memory.Why the "PF usage" increased so markedly?It is

a fact?or just a feint?

My computer use GF8800GTX+6.14.11.5822 Driver, I also test my program in a

system that use GF6800GT,the result is the same.

Dark Photon
06-05-2007, 07:25 AM
PF = Page File

(for other non-Windows users that might also need to look it up; read: swap)

Well, pretty sure that the GL driver keeps a copy of all textures in system memory. Wouldn't be a bit surprised if it did the same with VBOs so it could virtualize them as well. But that's a guess...

Question is, why is a 100MB hickup causing you to run out of system memory...

pango
06-05-2007, 08:38 PM
Originally posted by Dark Photon:
PF = Page File

(for other non-Windows users that might also need to look it up; read: swap)

Well, pretty sure that the GL driver keeps a copy of all textures in system memory. Wouldn't be a bit surprised if it did the same with VBOs so it could virtualize them as well. But that's a guess...

Question is, why is a 100MB hickup causing you to run out of system memory... My System not run out of memory,I post this question just for curiosity,but my program also consume very large memory space(>500M) to host rendered image,so I afraid the system memory may be run out if the VBO memory allocated by program also very large.