SageTV Community  

Go Back   SageTV Community > Hardware Support > Hardware Support
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-11-2006, 01:02 PM
lordmeatball lordmeatball is offline
Sage User
 
Join Date: Oct 2006
Posts: 31
How much physical memory??

Hey everyone-

How much physical memory should I have in my machine to run the sagetv server??

I had 512 running WinXP with 3 mvps. I noticed the available memory was a bit low and CPU utilization was high for sagetvservice.exe.

I put another 512 in (1 gig total), and sagetvservice is using even more memory (about 225 meg with two mvps running).

Is there any easy calculation to determine how much RAM I should have??

Thanks!
Reply With Quote
  #2  
Old 12-11-2006, 01:41 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
In Task Manager / Perfomance, the 'Total Commit Charge' is the total amount of virtual memory used by applications and Windows. If this is less than the amount of your RAM, then you have plenty! If it is a little more than your RAM, then some apps will be swapped out. (Peak is the max RAM used since boot, Limit is the max amount of allocatable memory (RAM+Swap))

If it is a lot more than your RAM then you will be swapping a lot!

Note that when you look at 'Memory usage' in task manager, this is only memory swapped into RAM. To see how much Virtual Memory (both swapped into RAM+Swapped out in pagefile) is in use, enable the Virtual Memory Size column.
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki

Last edited by nielm; 12-12-2006 at 01:01 PM.
Reply With Quote
  #3  
Old 12-12-2006, 12:40 PM
BBCritical BBCritical is offline
Sage Aficionado
 
Join Date: Jun 2005
Posts: 308
Quote:
If this is less than the amount of your RAM, then you have plenty! If it is a little more than your RAM, then some apps will be swapped out
If the peak never exceeds the total then your fine?
__________________
Server: Asus M3A; AMD Phenom quad core CPU; 3Gb RAM ; ATi x1600 PCIe Video Card
Tuners: 1 Adaptec PVR 3610, 2 PVR 500s; 1 HDHomerun; 2 HD PVR
Storage: 1.2 Tb

Clients: 2 HD Extenders
Reply With Quote
  #4  
Old 12-12-2006, 04:32 PM
SHS's Avatar
SHS SHS is offline
Moderator
 
Join Date: Mar 2003
Location: Vinita, Oklahoma
Posts: 4,589
You all need change your virtual memory when add more system memory
This for 1GB of ram
Initial size 1536
Max Size 3072
Reply With Quote
  #5  
Old 12-13-2006, 02:40 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by BBCritical
If the peak never exceeds the total then your fine?
Peak will always exceed Total!

Sorry, I didn't explain myself well earlier

  • Total Commit Charge==PF usage (memory used graph) == current amount of allocated virtual memory (RAM+Swap)
  • Peak Commit Charge==Maximum amount of allocated virtual memory (RAM+Swap) ever used since boot
  • Commit Charge Limit==Total amount of VM available to the system (RAM+Swap)

If Peak *never* exceeds the amount of RAM you have, then you have plenty of RAM.
If under normal use, Total (the PF usage graph) does not exceed the amount of RAM, then you still have enough.

What I am trying to say (badly) is that on an virtual memory system it is not always possible to see from looking at just Free RAM -- the system will swap some rarely unused RAM pages to disk, and will use RAM as a dynamically resizable disk cache. It will also try to keep some RAM free so that if a process needs some, it does not need to swap something out first.

Low RAM will not manifest itself in high CPU usage -- the system will be swapping a lot, and appear to be slow, but the CPU usage will actually be quite low...
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #6  
Old 12-13-2006, 09:21 PM
malbec malbec is offline
Sage Aficionado
 
Join Date: Oct 2005
Posts: 331
So, just to clarify for my case

Total physical memory = 512MB
Peak = 1037MB

=> Buy more RAM
Reply With Quote
  #7  
Old 12-14-2006, 12:25 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by malbec
Total physical memory = 512MB
Peak = 1037MB

=> Buy more RAM
yes, if that peak happens often. If it was a one-off because you started 15 copies of IE, then maybe not!
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #8  
Old 12-14-2006, 06:00 PM
Mark SS Mark SS is offline
Sage Expert
 
Join Date: Dec 2005
Location: London, UK
Posts: 608
Quote:
Originally Posted by SHS
You all need change your virtual memory when add more system memory
This for 1GB of ram
Initial size 1536
Max Size 3072
A common misconception leftover from the days when 128mb of RAM was considered a luxury. With 1GB of RAM you can generally disable the pagefile entirely.

On my development PCs which can be running 2-3 copies of Visual Studio, Outlook, Enterprise Manager, Query Analyser, SQL server and the usual assortment of help files, word documents etc I can run with no pagefile with 1GB RAM. On the HTPC I can leave Sage running while playing Doom3 and not require a pagefile.
Reply With Quote
  #9  
Old 12-14-2006, 09:21 PM
SHS's Avatar
SHS SHS is offline
Moderator
 
Join Date: Mar 2003
Location: Vinita, Oklahoma
Posts: 4,589
Used that not a good idea Mark becuases of this
But I never really tested it
Attached Images
File Type: gif Image2.gif (8.1 KB, 269 views)
Reply With Quote
  #10  
Old 12-15-2006, 08:08 AM
Mark SS Mark SS is offline
Sage Expert
 
Join Date: Dec 2005
Location: London, UK
Posts: 608
Exactly what would you do with a windows debug dump in the event that a stop error did occur? I suspect nothing and as such you can ignore the message.
Reply With Quote
  #11  
Old 12-15-2006, 10:12 AM
SHS's Avatar
SHS SHS is offline
Moderator
 
Join Date: Mar 2003
Location: Vinita, Oklahoma
Posts: 4,589
Beside it more then that mark

http://www.codinghorror.com/blog/archives/000422.html
The problem with Disable Paging of Core Files this cuases min app that run at startup in taskbar to fail to start be of no pagefile.

The best Tweaks I found to be is
Optimize the Pagefile
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\
"ClearPageFileAtShutdown=1" (1 clears the pagefile at shutdown, 0 is the Windows default).

Unload DLLs of Closed Applications
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\AlwaysUnloadDLL
and set the "Default" string to "1"

Some other
http://www.speedguide.net/read_articles.php?id=1404
http://kadaitcha.cx/performance.html
Reply With Quote
  #12  
Old 12-15-2006, 11:27 AM
doc's Avatar
doc doc is offline
Sage Fanatic
 
Join Date: Jun 2006
Location: Leicester, England
Posts: 918
Quote:
Originally Posted by SHS
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\
"ClearPageFileAtShutdown=1" (1 clears the pagefile at shutdown, 0 is the Windows default).
Our security people insisted we did this on our servers. Shutdown times went from 2 to 30 minutes. Luckily they only audit every few years!
Reply With Quote
  #13  
Old 12-15-2006, 06:29 PM
Mark SS Mark SS is offline
Sage Expert
 
Join Date: Dec 2005
Location: London, UK
Posts: 608
I suspect this is going to be one of those conversations where we will never agree. What I will say is that on the basis of your suggestions I suspect you are reading hints/tips/advice that you don't fully understand the nature of and assuming them to be true.

Quote:
Originally Posted by SHS
http://www.codinghorror.com/blog/archives/000422.html
The problem with Disable Paging of Core Files this cuases min app that run at startup in taskbar to fail to start be of no pagefile.
SOME applications, maybe, possibly. I've tested running without a pagefile on PCs which are stressed way beyond that which the average user will encounter, no problems at all.

Quote:
The best Tweaks I found to be is
Optimize the Pagefile
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\
"ClearPageFileAtShutdown=1" (1 clears the pagefile at shutdown, 0 is the Windows default).
This isn't a tweak of any sort. As doc hinted its a security feature, there is absolutely no benefit to be had from enabling this unless you want to increase the time it takes for your PC to shutdown.

Quote:
Unload DLLs of Closed Applications
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\AlwaysUnloadDLL
and set the "Default" string to "1"
I'll address this one without even looking up what it does. The naming implies that windows will continue to cache dlls which are not explicitly required by any running application after the application that loaded them is closed. What I'm 100% sure that it will do is kick them out of the cache when it runs out of cache space and needs to load something that will be used by other applications. If I'm wrong, someone say so and I'll go and read up

The nonsense about ClearPageFileAtShutdown is enough to stop me reading any more of the article.

[/quote]

Some of the items in this article are worth doing but not unless you understand what it is your changing. Either way, it has nothing to do with your original comment regarding virtual memory sizing.

My apologies if the tone is harsh but personally, I think its wrong to hand out advice you don't understand.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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

Forum Jump


All times are GMT -6. The time now is 04:57 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.