Swap Space / Virtual Memory (VMM, paging RAM memory to a pagefile on the harddrive)?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Morien Offline
Senior Member
Posts: 185
Joined: Dec 2003
Reputation: 0
Question  Swap Space / Virtual Memory (VMM, paging RAM memory to a pagefile on the harddrive)? Post: #1
hi,

would it be possible for the implementation of virtual memory (such as what odd, co-developer of surreal implemented into his emulator) ? would this solve any of the memory problems? (memory problems i've read about include asain mplayer subtitle fonts crashing the xbox due to lack of memory)
would this also increase the playback quality of some codecs or resolutions?

morien
find quote
Hullebulle Offline
Posting Freak
Posts: 1,966
Joined: Sep 2003
Reputation: 0
Post: #2
doubt it would help for fonts, but maybe for big subtitle files. we only need the next 2 lines (pics) in memory of the subfile.

read the xbmc online-manual, faq and search the forums before posting! do not e-mail the xbmc-team asking for support!
read/follow the forum rules! note! team-xbmc never have and never will host or distribute ms-xdk binaries/executables!
find quote
Gamester17 Offline
Team-XBMC Forum Moderator
Posts: 10,595
Joined: Sep 2003
Reputation: 9
Location: Sweden
Post: #3
yes the only point i see in virtual memory is for larger subtitle files (dvd vobsub subtitle files that is, as can be quite large).
(edit: correction, i meant "larger subtitle files", not larger subtitle fonts)

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Morien Offline
Senior Member
Posts: 185
Joined: Dec 2003
Reputation: 0
Post: #4
i thought there might be some use for it. even if all it did was prevent the xbox from running out of memory and locking up.
perhaps it would be worth it for the larger subtitle fonts? or the asain fonts, etc which are too big for the stock memory?

morien
find quote
Morien Offline
Senior Member
Posts: 185
Joined: Dec 2003
Reputation: 0
Post: #5
just to ressurect this.
i've been seeing quite a bit of discussion about memory issues in #xbmc as of late. would virtual memory have a use now?

morien
find quote
Asteron Offline
"Skilled" Python Coder
Posts: 933
Joined: Feb 2004
Reputation: 0
Post: #6
i know that 64mb is a pretty small amount of memory to use and xbmc is pretty smart about only allocating the memory it needs at a given moment.

i was wondering if anyone has thought about adding a virtual memory manager? i mean the xbox hd can easily spare a few hundred megs for a swap file. this would instantly solve alot of the memory problems people are having.

i will try to investigate more how feasible it is though once i have my env set up :-)

-ast
find quote
pike Offline
Project Manager
Posts: 4,820
Joined: Sep 2003
Reputation: 28
Location: Sweden
Post: #7
i think there's a reason why we dont have it, cant really recall exactly why at the moment though

also, lets not forget, you can forget about the golden silence with a swap disk on hd

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
romi Offline
Junior Member
Posts: 2
Joined: Aug 2006
Reputation: 0
Question  Swap Space / Virtual Memory (paging RAM memory to a pagefile on the harddrive)? Post: #8
After reading these forums, the issue often arises that certain functions cannot be executed because of the lack of memory in the Xbox. This in my opinion makes the Xbox an ideal candidate for a swap partition. While a partition dedicated to swap would give a slightly better performance, a swap file on the E drive would work too.
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,523
Joined: Oct 2003
Reputation: 138
Post: #9
Code it up then.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
elupus Offline
Team-XBMC Developer
Posts: 3,764
Joined: Mar 2004
Reputation: 2
Post: #10
This could be used as a bases. it's a pagefile system for xbox. just stumbled on it Smile

http://stepmania.cvs.sourceforge.net/ste...iew=markup

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
Post Reply