MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Main Features (talk, share your ideas, get support) » Watch / Listen Media » Listen Music » Tips and Tricks


Tips and Tricks Post your Tips and Tricks here.

Reply
 
LinkBack Thread Tools Display Modes
Old 2005-04-17, 21:50   #11 (permalink)
LaPistola
Guest
 
Posts: n/a


Default

How big is the whole media portal install? I would think with enough ram.. you could rock!

I have a gig of ram.. would that be enough?
  Reply With Quote
Old 2005-04-18, 06:21   #12 (permalink)
Portal Member
 
Join Date: Jan 2005
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by LaPistola
I have a gig of ram.. would that be enough?
It all depends on whats you have on your running in the background while using MP. 1GB should be enough IMHO to create a large enough ramdisk to put an entire installation of MP on a RAMDISK and still have enought memory to operate. I have 512MB of ram on my DEDICATED HTPC and my mem usage on average peaks at about 475MB. 80MB for of the memory is for a ramdrive. This maybe different for regular users. My HTPC has been tweaked heavily to the point where I went apesh*t on keeping installation size to a minimum and determining what services/app run in the backgroun. (Mostly in part due to nLite. Check it out @ http://nuhi.msfn.org/). It is hard to create a RAMDISK over 128MB of ram with system instability. Ramdisk require contiguous allocation of memory address space.

Here are some 2 tips to keeping MP installation small:
- Delete/backup unnecessary skins
- The database schema in MP is constantly being improved and makes database files (in the "database" folder) obsolete. You can delete old versions if you notice multiple database files in the MP after updating and importing. Eg: In the database folder if you have files musicdatabase4.db and musicdatabase5.db, you can delete musicdatabase4.db. Make sure all the data from previous versions of the DB were imported first. Usually if the size of the new database is greater than or equal to the previous database, that means the previous versions data was most likely imported (i think the importing is done automatically after new installations. Not sure).

You will have to manage your ramdisk carefully when considering its size which will be affected by the sizes of database and thumbnails. I dont use EPG as i have an STB from my cable provider with EPG so that drastically reduces my database size. Thumbnails for "My Pictures" are exteremly large as well since they are of higher quality. This is why I only keep thumbnails of Music Albums and Movie Titles on the ramdrive.
These thumbnails are between 5KB-32KB. MP often downloads multiple images of different sizes of the same video.

Before allocating space, i did some calculations to see what size of a ramdrive would suit my needs. I did some guesswork with the sizes of the database and thumbnails based on the number of thumbnails i had and the sizes of the database:
Database size for info on 5000 mp3's: ~700KB
Database size for info on 100 movies: ~300KB
Average thumbnail image size: ~25KB

Based on this I calculated the size of my RamDrive so that I wouldnt have to worry about it anytime soon.

Hope this helps.
htpcNoob is offline   Reply With Quote
Old 2005-04-18, 10:46   #13 (permalink)
rtv
Portal Developer
 
rtv's Avatar
 
Join Date: Apr 2005
Location: Osnabruck
Posts: 2,512
Thanks: 84
Thanked 95 Times in 69 Posts

Country:

My System

Default

*double post deleted*
rtv is offline   Reply With Quote
Old 2005-04-18, 10:46   #14 (permalink)
rtv
Portal Developer
 
rtv's Avatar
 
Join Date: Apr 2005
Location: Osnabruck
Posts: 2,512
Thanks: 84
Thanked 95 Times in 69 Posts

Country:

My System

Default

What Ramdisk-Driver did you finally choose to extend the Ramdisk further than 32MB?
rtv is offline   Reply With Quote
Old 2005-04-18, 14:57   #15 (permalink)
Portal Member
 
Join Date: Jan 2005
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts


Default

The development for this has stopped but it allows for Ramdisk sizes of up to 2GB
http://www.arsoft-online.com/index.p...d&ascdesc=DESC


Use this following if you plan on using ramdisks <= 64MB as it is more stable:
http://www.codeguru.com/Cpp/W-P/syst...cle.php/c5789/
htpcNoob is offline   Reply With Quote
Old 2005-04-18, 15:09   #16 (permalink)
rtv
Portal Developer
 
rtv's Avatar
 
Join Date: Apr 2005
Location: Osnabruck
Posts: 2,512
Thanks: 84
Thanked 95 Times in 69 Posts

Country:

My System

Default

The latter I use here..

What exactly do you mean with unstable? Does your system freeze sometimes using the first driver?
rtv is offline   Reply With Quote
Old 2005-04-18, 15:16   #17 (permalink)
Portal Member
 
Join Date: Nov 2004
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts


Default

To answer the question some posts ago: I have the complete xmltv dir in the RAM. I grab the tvguide.xml on a different computer and copy it on the htpc afterwards as I do not have an internet connection. I deleted all unnecessary files therefore. (like the docs).
SpaceProtector is offline   Reply With Quote
Old 2005-04-18, 15:45   #18 (permalink)
Portal Member
 
Join Date: Jan 2005
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by rtv
The latter I use here..

What exactly do you mean with unstable? Does your system freeze sometimes using the first driver?
Unstable when creating a large Ramdisk. Say.. 128MB. As i mentioned that Ramdisk must allocate contiguous memory in order to create a ramdisk. Just like a hard disk, memory becomes fragmented when loading/unloading applications (even at boot time) and trying to allocate 128MB of contiguous ram space could fail and cause a BSOD.
htpcNoob is offline   Reply With Quote
Old 2005-06-19, 07:24   #19 (permalink)
Portal Member
 
Join Date: Apr 2005
Location: Bennekom
Posts: 26
Thanks: 1
Thanked 0 Times in 0 Posts

Country:

My System

Default

The link for the junction utility at the top of this usefull post did not work for me, the utility was found on

http://www.sysinternals.com/Utilities/Junction.html
fpouels is offline   Reply With Quote
Old 2005-06-19, 19:37   #20 (permalink)
Retired Team Member
 
mzemina's Avatar
 
Join Date: Feb 2005
Location: Ft Smith, AR
Posts: 2,021
Thanks: 30
Thanked 9 Times in 9 Posts

Country:


Default

Quote:
Originally Posted by htpcNoob
Quote:
Originally Posted by rtv
The latter I use here..

What exactly do you mean with unstable? Does your system freeze sometimes using the first driver?
Unstable when creating a large Ramdisk. Say.. 128MB. As i mentioned that Ramdisk must allocate contiguous memory in order to create a ramdisk. Just like a hard disk, memory becomes fragmented when loading/unloading applications (even at boot time) and trying to allocate 128MB of contiguous ram space could fail and cause a BSOD.
But can't you defrag a ramdisk just like a regular harddisk?
mzemina is offline   Reply With Quote
Reply

Bookmarks

Tags
access, browsing, faster, music or movie

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Browsing My video's takes 5-10x as long as the same share list in My Music idioteque Fixed 0.2 RC4 Bugs 2 2006-06-13 18:14
My Music browsing Anonymous Improvement Suggestions 0 2004-12-07 10:02
Faster image browsing Rybber Improvement Suggestions 13 2004-11-10 14:13


All times are GMT +1. The time now is 00:30.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress