forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

use of ps3vram as buffer cache

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Linux Development
View previous topic :: View next topic  
Author Message
Egon Alter



Joined: 15 Jun 2008
Posts: 1

PostPosted: Sun Jun 15, 2008 2:56 am    Post subject: use of ps3vram as buffer cache Reply with quote

Hi,

I currently use ps3vram for swapping and set swappiness to 100. This fills nearly the whole vram while doing desktop work and gives me more usable memory.
I think this sitation is not optimal, because a lot of memory is used by the buffer cache, while programs are being swapped out. As the subject suggests, I like to know if it is possible to use the vram as a file-system cache.
During my research, I found a lot of possibilties to do that. First there is fs-cache, which is currently only available for nfs filesystems and needs a rather large kernel patch. Also this would require to loop-mount the hard-disk via nfs ...
Second, a new simple filesystem which does some "copy on read" and write-through in combination with a stackable filesystem (unionfs/aufs) would be possible.
Third, "enhance" the kernel memory management to use mmaped vram for buffer pages.

Maybe there are some more (simpler ones)?

What is your opinion?

Thanks

Egon
Back to top
View user's profile Send private message
anunakin



Joined: 27 Jul 2006
Posts: 6

PostPosted: Wed Feb 04, 2009 12:58 pm    Post subject: Reply with quote

We can find more here:
http://kerneltrap.org/node/1044
_________________
Anunakin
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Linux Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group