Welcome to the Invelos forums. Please read the forum rules before posting.

Read access to our public forums is open to everyone. To post messages, a free registration is required.

If you have an Invelos account, sign in to post.

    Invelos Forums->DVD Profiler: Desktop Feature Requests Page: 1  Previous   Next
Manual control of RAM usage of DVD Profiler
Author Message
DVD Profiler Unlimited RegistrantStar ContributorSpaceFreakMicha
Jesus-Freak
Registered: March 13, 2007
Reputation: High Rating
Germany Posts: 1,774
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
@Ken Cole:

Would it be possible to include an option (at least within the registry entries) to define how much RAM DVD Profiler is allowed to use?
Since RAM is very cheap at the moment it would be nice to have the option of allowing DVD Profiler to use more MB of RAM to speed it up a little.

In most cases DVD Profiler is quite fast, but loading for example the profile of the complete "Married... with Children" Box (all 259 episodes in one box) is rather slow (thanks to the complete cast & crew list with 259 dividers and a headshot collection of about 430MB), even on my PC (Intel Q9550 (4x2,83GHz), 4GB DDR2-800 RAM), because the HDD gets strongly accessed when I select the profile.

Since memory usage is at the moment only about 160MB on my PC, I thought that it would be a nice performance boost if I could allow Profiler to use maybe about 1GB of RAM.

I know, not everybody wants such a high memory usage, so it should be a strictly optional thing. 
DVD Profiler Desktop and Mobile RegistrantStar ContributorDJ Doena
Registered: May 1, 2002
Registered: March 14, 2007
Reputation: Highest Rating
Germany Posts: 6,744
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
I don't think memory as such is the issue. But you have to load that data from the database into the memory. And the database is stored on the hard disc. When you open that profile, it loads that data from the hard drive into the RAM.

That's why you have such heavy HDD load.

You can only move the time of loading to another (earlier) point. But that would result in a slower start of the application.
Karsten
DVD Collectors Online

 Last edited: by DJ Doena
DVD Profiler Desktop and Mobile RegistrantStar ContributorTheMadMartian
Alien with an attitude
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 13,202
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
I agree with DJ.  That data has to be loaded into memory before you can view it.  There is no way the program can anticipate which profile you are going to click on, so the only solution would be to load every single profile, into memory, at start up.  That is not a solution I would like to see implemented.
No dictator, no invader can hold an imprisoned population by force of arms forever.
There is no greater power in the universe than the need for freedom.
Against this power, governments and tyrants and armies cannot stand.
The Centauri learned this lesson once.
We will teach it to them again.
Though it take a thousand years, we will be free.
- Citizen G'Kar
 Last edited: by TheMadMartian
DVD Profiler Unlimited RegistrantStar ContributorSpaceFreakMicha
Jesus-Freak
Registered: March 13, 2007
Reputation: High Rating
Germany Posts: 1,774
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Quoting Unicus69:
Quote:
That is not a solution I would like to see implemented.


I know, startup time would be a bit longer. That was why I asked for it as a strictly optional thing, maybe by manually editing an .ini file or a registry entry. I don't want the standard setting to be replaced, as it is for most users the optimum.
 Last edited: by SpaceFreakMicha
DVD Profiler Desktop and Mobile RegistrantDr. Killpatient
Here's my card
Registered: May 19, 2007
Reputation: Highest Rating
United States Posts: 5,917
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
You can look into setting up a striped RAID which will improve your overall access times but the cheapest way to speed things up (free) is to defrag your hard drive using a program such as AusLogics Disk Defrag or Windows Defrag if you're running XP or older.  Vista's defrag, well, doesn't.

If you desire speed and don't mind forking out a few hundred bucks, check out the newer solid state hard drives.  With no moving parts, they'll land the smackdown on ANY standard hard drive.

If you lust for speed, there's a RAM drive option but it's a lot of hassle as you have to copy the data onto it and then copy it back off if you make any changes.
DVD Profiler Unlimited RegistrantStar ContributorSpaceFreakMicha
Jesus-Freak
Registered: March 13, 2007
Reputation: High Rating
Germany Posts: 1,774
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Quoting Dr. Killpatient:
Quote:
You can look into setting up a striped RAID which will improve your overall access times but the cheapest way to speed things up (free) is to defrag your hard drive using a program such as AusLogics Disk Defrag or Windows Defrag if you're running XP or older.  Vista's defrag, well, doesn't.

If you desire speed and don't mind forking out a few hundred bucks, check out the newer solid state hard drives.  With no moving parts, they'll land the smackdown on ANY standard hard drive.

If you lust for speed, there's a RAM drive option but it's a lot of hassle as you have to copy the data onto it and then copy it back off if you make any changes.


Yes, fragmentation is a problem, too. Since I add almost every month at least 50-100 headshots, the database gets fragmented pretty soon, but doing a complete defrag does not only cost alot of time (even with JKDefrag, which is great), it also wears your HDD a lot, and even SSDs (MLC) have limited write-cycles. SLCs are way too expensive at the moment for me.

I'll take a look at the RAM drive option, but it sounds a bit complicated. Anyways, thank you for the advice.
 Last edited: by SpaceFreakMicha
DVD Profiler Desktop and Mobile RegistrantMarEll
Registered: June 9, 2007
United Kingdom Posts: 1,208
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
I like the idea.  I wouldn't mind the program taking longer to load if it was lightening fast while running.

I'd also like the problem of profiler 'falling asleep' when kept in the background for a period of time and then being very sluggish when it's time to use it again.  Or is that just mine? 
DVD Profiler Desktop and Mobile RegistrantStar ContributorDJ Doena
Registered: May 1, 2002
Registered: March 14, 2007
Reputation: Highest Rating
Germany Posts: 6,744
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
If you have more than one partition/drive and enough space, you can move DVD Profiler onto the second p/d and then move it back. The writing process will at least partially ensure a defragmented file and only fragment it if there's no cluster big enough to hold the entire file.

Quoting SpaceFreakMicha:
Quote:
In most cases DVD Profiler is quite fast, but loading for example the profile of the complete "Married... with Children" Box (all 259 episodes in one box)

You also could start using child profiles, at least break it down into the 11 seasons.
Karsten
DVD Collectors Online

 Last edited: by DJ Doena
DVD Profiler Desktop and Mobile RegistrantDr. Killpatient
Here's my card
Registered: May 19, 2007
Reputation: Highest Rating
United States Posts: 5,917
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
The sluggish response when restoring from a minimized stated is because Windows swapped out its memory to use for other programs and has to load it back in.

I have four 1 TB drives in a stripped/mirrored RAID and partitioned it out to a 600 GB drive for Windows and programs, 100 GB for downloaded files and temp files, and the rest for my data.

The big problem with temp data is that it fragments your hard drive.  Creating a separate partition and setting the Windows Temp directories to it as well as your browser cache directories, it keeps all that garbage off your main drive and speeds up defragmenting considerably.

For the RAM drive option, you'll need to create a database on the RAM drive and copy/restore your main database onto it to set it up.  Then create a backup folder and copy all the files from the RAM drive onto it.  If you have your RAM drive initialized at Windows startup, create a batch file in your Program Files > Startup folder to copy the backup folder onto the RAM drive and then create a seperate batch file on your desktop to copy the files from the RAM drive to the backup directory.  You can also experiment with RoboCopy (comes with Vista) to only copy files that have changed.
DVD Profiler Desktop and Mobile RegistrantDr. Killpatient
Here's my card
Registered: May 19, 2007
Reputation: Highest Rating
United States Posts: 5,917
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
In addition, standard DOS copy may have issues with files over 1 GB (as in it won't) but RoboCopy doesn't.  Keep that in mind.
DVD Profiler Desktop and Mobile RegistrantMarEll
Registered: June 9, 2007
United Kingdom Posts: 1,208
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Quoting Dr. Killpatient:
Quote:
The sluggish response when restoring from a minimized stated is because Windows swapped out its memory to use for other programs and has to load it back in.
[...]
The big problem with temp data is that it fragments your hard drive.  Creating a separate partition and setting the Windows Temp directories to it as well as your browser cache directories, it keeps all that garbage off your main drive and speeds up defragmenting considerably.
[...]


Thanks for the explanation Doc.  Is there any way tell windows to leave a certain program in RAM and only use the page file for other programs?  On a related note, would there be any problem taking stick of RAM from my other rig and using in in my main 1?  They are different brands but are the same size.  I know it's not ideal but would I still at least see some improvement?

As for the defrag bit I've got to add something I found out recently.  Moving the pagefile to another partition (1 or 2 gig) can reduce disk fragmentation greatly.  I did it and I've noticed a big improvement.
DVD Profiler Desktop and Mobile RegistrantDr. Killpatient
Here's my card
Registered: May 19, 2007
Reputation: Highest Rating
United States Posts: 5,917
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
If you can move the swap file to another drive entirely, it'll increase performance by a small percentage because Windows can access two drives simultaneously.

Typically, you can take a RAM stick from one computer and put it into another as long as it's the same type and speed, ideally the same size, as the existing RAM.
DVD Profiler Unlimited RegistrantStar ContributorLewis_Prothero
Strength Through Unity
Registered: May 19, 2007
Reputation: Superior Rating
Germany Posts: 6,730
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Quoting Dr. Killpatient:
Quote:
If you can move the swap file to another drive entirely, it'll increase performance by a small percentage because Windows can access two drives simultaneously.

But make sure it's really a physical drive, not just a partition of your HDD. Otherwise you'll get the opposite effect. When moving the swap file to another HDD make sure to move it into the first sectors. Preferable is to move the swap file to a fast media (RAM Drive / RAID 0 / SSD).

Quoting Dr. Killpatient:
Quote:
Typically, you can take a RAM stick from one computer and put it into another as long as it's the same type and speed, ideally the same size, as the existing RAM.

This will typically only increase the RAM size of your computer and not speed up the RAM-access. For faster access to your RAM you need two identical RAM sticks (Chipset / module-size / total size / clocking / etc.) also known as "Twin Set" or "Dual Channel". This works de facto like a striped set (RAID 0) for RAM
It all seems so stupid, it makes me want to give up!
But why should I give up, when it all seems so stupid?


Registrant since 05/22/2003
 Last edited: by Lewis_Prothero
    Invelos Forums->DVD Profiler: Desktop Feature Requests Page: 1  Previous   Next