Author |
Message |
marc.aronson
|
Posted: Sat May 20, 2006 2:51 pm |
|
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location:
California
|
Note: I am posting here rather than in "hardware" or "linux" because I believe that the situation I am describing doesn't typically apply to non-HD systems.
I just upgraded my system from 512MB of PC3200/Corsair/CAS2.5 memory to 1GB of PC3200/Corsair/CAS3 memory. The most notable difference is visibile when I am simultaneously recording and playing back the same 1080i hidef show and also recording the same show at 480i.
1. With 512MB CAS2.5 memory, "top" typically shows 20% - 30% of CPU in the "wa" state, and I run around 20% "idle".
2. With 1GB of CAS3 memory, "top" consistantly shows under 1% in the "was" state and I run 40% - 50% idle.
So while I am very happy with the new results, I am trying to understand why. I've done some reading on CAS latency and I doubt having a longer/worse latency would somehow make things better, so my guess is that the benefit is coming from having more memory.
Does anyone out here have any inisghts? It's not a problem, but I am very curious.
Marc
System configuration:
Knoppmyth R5A30.2
P4-2.8ghz w/ HT.
1GB RAM
ECS motherboard with SIS chipset
|
|
Top |
|
|
Liv2Cod
|
Posted: Sat May 20, 2006 11:52 pm |
|
Joined: Fri May 21, 2004 11:55 pm
Posts: 1206
Location:
Silicon Valley, CA
|
Are you commflagging at the same time as recording? I found my memory requirements were pretty high in this scenario. I started with 512M and found that 1G was a real help as well. Back when I had only 512M I found that turning off commflagging helped memory utilization.
_________________ Do you code to live, or live to code? Search LinHES forum through Google
|
|
Top |
|
|
marc.aronson
|
Posted: Sun May 21, 2006 12:09 am |
|
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location:
California
|
No, I don't use commflag and I did not have any jobs running in the background.
|
|
Top |
|
|
mudx
|
Posted: Wed May 24, 2006 10:16 pm |
|
Joined: Mon Feb 13, 2006 7:51 pm
Posts: 6
|
I just ran into something really similar. I bumped from 512MB to 1.5G, and the playback stream got MUCH more stable. It looks like it just needs the added workspace in physical RAM for temporary manipulation of the video stream, whether it be the frontend, backend, X, the DVB driver, or some combination of the 4. It's just a whole lot more happy with more memory.
|
|
Top |
|
|
aussiepoof
|
Posted: Thu May 25, 2006 6:32 am |
|
Joined: Wed Feb 08, 2006 8:04 pm
Posts: 4
|
The other thing that could have happened is that by introducing the second DIMM you enabled a dual-chanel feature some motherboards have, thereby drastically reducing latency through the resultant alternating access to the DIMMs.
Just a thought... which mobo brand/model are you using?
Regards,
Paul
|
|
Top |
|
|
marc.aronson
|
Posted: Fri May 26, 2006 12:03 am |
|
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location:
California
|
mudx, sounds like we are seeing the same result.
aussiepoof, I upgraded by replacing my single 512MB DIMM with a single 1GB DIMM, so I don't have dual channel access. My MOBO is an ECS 648FX-A.
Marc
|
|
Top |
|
|
mudx
|
Posted: Sat May 27, 2006 7:25 pm |
|
Joined: Mon Feb 13, 2006 7:51 pm
Posts: 6
|
Quote: The other thing that could have happened is that by introducing the second DIMM you enabled a dual-chanel feature some motherboards have, thereby drastically reducing latency through the resultant alternating access to the DIMMs.
Just a thought... which mobo brand/model are you using?
That's the thing. With both the Athlon 3200 and then the 3800X2 under the hood, both were running a pair of 256 sticks in dual channel mode. When I put the additional memory in, it was a pair of 512 sticks, also in dual channel mode. It doesn't seem like it was an issue of the width of the pathway so much as how much memory the kernel's got to play with.
Cross-ref thread: http://mysettopbox.tv/phpBB2/viewtopic.php?t=10105
|
|
Top |
|
|
aussiepoof
|
Posted: Sun May 28, 2006 5:37 am |
|
Joined: Wed Feb 08, 2006 8:04 pm
Posts: 4
|
That does indeed seem a reasonable conclusion... and I have noticed Myth sucks memory hard.
P.
|
|
Top |
|
|
steven_ellis
|
Posted: Tue May 30, 2006 12:25 am |
|
Joined: Wed Jan 18, 2006 6:33 pm
Posts: 96
|
I have an Athlon 64 3000+ with 512Mb of single channel ram and no performance issues. Ok i'm running SDTV not HDTV, but I can record 2 channels whilst watching something else. Most memory is in cache and buffers.
If I go HD I might consider an additional 512MB stick.
Why to people think "MythTV sucks memory hard"?
Steve
_________________ OpenMedia Limited
New Zealands first open source PVR based on Knoppmyth
http://www.openmedia.co.nz for details
|
|
Top |
|
|
Xsecrets
|
Posted: Tue May 30, 2006 6:55 am |
|
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location:
Nashville, TN
|
I don't know, but I have 512Mb ram and I use HD with no problems. I can record two hd streams and one sd stream while watching hd no problems. Not sure what's the issue for everyone else. Though I do have commflag turned off. That is guaranteed to screw up playback when an hd recording is commflagging.
_________________ Have a question search the forum and have a look at the KnoppMythWiki.
Xsecrets
|
|
Top |
|
|
mudx
|
Posted: Wed May 31, 2006 10:35 pm |
|
Joined: Mon Feb 13, 2006 7:51 pm
Posts: 6
|
Xsecrets wrote: I don't know, but I have 512Mb ram and I use HD with no problems. I can record two hd streams and one sd stream while watching hd no problems. Not sure what's the issue for everyone else. Though I do have commflag turned off. That is guaranteed to screw up playback when an hd recording is commflagging.
What's the spec on your system?
|
|
Top |
|
|
Xsecrets
|
Posted: Thu Jun 01, 2006 9:25 pm |
|
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location:
Nashville, TN
|
PIV 3.0g ht with 512Mb ram gf5200 (well old gf3 right now since my 5200 blew up) connected dvi to hdtv at 1080i (720p right now since gf3 can't do interlace)
_________________ Have a question search the forum and have a look at the KnoppMythWiki.
Xsecrets
|
|
Top |
|
|