[TPS] RAM usage

Status
Not open for further replies.

roadbuster

Ars Scholae Palatinae
999
Wondering where all my precious ram was being used up, I decided to close my typical 20-open IE windows (usually 5 or 6 individual IE sessions) to see if a single browser was leaking memory somehow. Checking Task Manager...nothing out of the ordinary happens after closing IE. Next up on the list - IRC. Close that...a few MB of ram are freed up.

Try closing my two sessions of Genome@Home. Well, looky here...100MB of ram released from use. Task Manager, however, only listed each session as consuming 5-17MB of ram, depending on what stage of the crunch cycle the processes were in. Deceptive, indeed

Believing this was due to a possible memory leak over time, I close both sessions and restart them. Once each session had got into the Protein Design Sequence stage, the ram usage for both sessions had jumped to a combined 100MB once again (as indicated in the Memory Usage History graph in the Performance tab of Task Manager). Hence, this isn't due to a memory leak over time...it's due to genome@home deciding to play hardball with me.

session 1 is currently processing phase2/pdb1a1w.91.spa (83AA), and session 2 is processing phase2/pdb1aqa.97.spa (84AA). Could it be these proteins in particular that are causing this abnormally-high memory usage? Why doesn't Win2k report the ram usage for each process properly?


oh, O-T (but relevant) question: How long should a seed be left on a no-net machine for? This one box of mine has been crunching the same one for over a month.

P.S.: I have screenshots of task manager to describe my experiences above, but I don't see any reason to post them unless someone wants to see them.

P.P.S.: This is a BP6 with 2x Celeron 400 @ 550MHz, 384MB ram.
 

badsac

Ars Tribunus Militum
2,421
It's a fairly well known fact that Genome does some strange shit with memory. Some of our big folk has seen it consume rediculous amounts of memory if left running for a long time. Best to start and stop it, and probably reboot every now and then. Interestingly, it seems the Linux client doesn't have this problem, so say what you will about Windows in this case. Are you under Windws?

As for how long you can keep a unit, there is nothing writen in stone, but Stanford would like you to change units as much as you can. A rough rule of thumb around here is that if you've got machines that can only conenct once in a bleu moon, then try not to push it over the 1 month mark if you can help it. People have run a reasonable amount of time over that, but it sounds like from what stanford says that you are pushing it in that case.
 

roadbuster

Ars Scholae Palatinae
999
I guess my experiences are contrary to those of both of you guys, Burned & Larry Loen. The OS I'm using on this desktop is Win2k pro. The client doesn't seem to exhibit this memory "seek-out-and-occupy" disorder on any of the FreeBSD machines upstairs in my hosue. Odd.

Close two sessions. Mem usage drops to 250MB from 350MB
Start both sessions. After 5 minutes, Mem usage jumps from 250MB to 350MB.

I need to find something more accurate than Task Manager, too. Like Top or ps for win32. agh. Telling me that each session is occupying 15MB of ram, while they're really taking up 100MB is not right. How can Task Man not know how much memory the processes are currently occupying if everything can run in it's own little sandbox of protected memory?

Just did a little test. After running all night, my total mem usage was at 399MB. Killed both Genome@Home sessions and ram usage dropped to 305MB. Started them both back up again (regular crunching of old seed) and ram usage at 314MB during filtering process. As soon as the Initializing protein design algorithm began, the ram usage just shot back up to 397MB. Instantly.

So it's intentionally using all this ram, not a leak.
 
Originally posted by Burned:
On my NT 4.0 and Win2K boxes, I never see this behavior. On my Win98, I do.

This very much happens under NT4 and Win2K. As others have indicated you need to look at the VM size to see it, and you will also see it in changes to the overall "Mem Usage" which is also the "Commit Charge" figure under the "Performance" tab.
 

Burned

Ars Tribunus Militum
2,562
I guess I should have been clearer before. What I mean to say is that under Win2K and NT 4.0, I don't see the 40 meg or so VM size affecting the machine's responsiveness or stability. Wish I could say the same for my Win98 boxen. Its not a matter of processor speed either. My NT box is a PII-333. Perhaps NT and Win2K are better process and memory managers. The VM size, is after all, virtual. I'm not paging or swapping as far as I can see, so the working set must fit in the physical memory reserved for the process for the majority of the crunch time.
 

gnewbury

Wise, Aged Ars Veteran
108
There was an issue with older motherboards (VM or VX chipset ?) that they would not release memory properly. I've got a 233Mhz that exhibited that problem, primarily with microsux software. With 192 Mb of RAM, NT 4.0, it would just eventually use up all the memory and require a reboot. However it's been running g@h for about 3 months without a reboot, and no problem.
 
Status
Not open for further replies.