NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums General General Discussion v
« Previous 1 … 23 24 25 26 27 … 159 Next »
How much ram req'd to delete swap file?

 
  • 0 Vote(s) - 0 Average
How much ram req'd to delete swap file?
Elmo Putney
Offline

Senior Member

Posts: 615
Threads: 119
Joined: Feb 2008
#1
2012-01-27, 08:18 PM
I'm considering a re-build of my NPVR box for a few reasons:

I need dvbs2 and t2
I want a smaller case
I didn't envisage 2 clients and HD when I put it together
The old one has been "up" for 4 years...wondering what the longevity is of a permanently powered up box?
I want to.

The motherboard I'm looking at only has 2 dimm slots and quotes 16GB as the maximum memory, I am assuming this would be enough to get rid of the swap file to avoid non-pvr related disk read/writes, but what can I look at/monitor on my current server to see if I'm going to exceed that?

I've got process explorer from sysinternals on my box, when I look at the Memory tab it reports several things:

Commit Charge
current
limit
peak

Physical Memory
total
available
system cache

Kernal memory
paged ws
paged virtual
nonpaged etc....


Paging
"more stuff"


Which one can I monitor to tell me if I deleted the page file I would or would not run out of memory...or is it more complicated than that?
[SIZE="4"]Elmo Putney[/SIZE]
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#2
2012-01-27, 09:01 PM
it's way more complicated than that unfortunately...
normally win + npvr in operation never reaches a gig, but that doesn't mean you can get rid of swap file..
for very long and drawn out reasons, windows wants swap file space to back every program in memory, whether it's being used to offload it or not..

yes, you can get rid of the swap altogether, but then try to do a scandisk [chkdsk] on a drive and it'll run out of memory...[or defrag]
[unless drive is smaller than available memory]
and a few other oddities that wouldn't seem to be related..

to stop windows from unnecessary disk accesses, turn off win search service, drive indexing, and the boot optimizing defrag..
[that gets most of the disk accesses down]
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
Elmo Putney
Offline

Senior Member

Posts: 615
Threads: 119
Joined: Feb 2008
#3
2012-01-28, 05:07 AM
long discussion on it here:http://serverfault.com/questions/23621/a...am-machine

some good learning in there
[SIZE="4"]Elmo Putney[/SIZE]
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#4
2012-01-28, 08:52 AM
I've never run a swap file on any of my high memory systems and haven't noticed any issues. Two of them just have 4GB as well.

As for DVB-S2 and DVB-T2; why bother with the latter? You'll get (arguably) better quality with DVB2, the same channels, the cards are cheaper, and all of the HD stuff will be in Dolby Digital rather than AAC making your NPVR codec life a lot easier.

Iain
gEd
Offline

Posting Freak

London
Posts: 3,514
Threads: 100
Joined: Jan 2005
#5
2012-01-28, 11:33 AM
I've never run WITHOUT a swap file on any of my high memory (4GB/8GB) systems and haven't noticed any issues...Win7 is a great OS out of the box. It doesn't need hacking to make it behave well.
As explained above, swap doesn't "kick in" when a high watermark is reached. It is intrinsic to windows normal process and memory management.

Personally I would put the money spent trying to avoid the use of swap space, towards other components such as a top quality PSU (seasonic), Noctura fans, better case etc.
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#6
2012-01-28, 05:33 PM
You really shouldn't ever disable the swap file. All advice to do so is based on old information and gross misunderstanding of how windows memory management works. While it's true that doing so often has no apparent ill effect, it doesn't help anything either. A single-use machine like a HTPC is less likely to encounter any issues with swap disabled.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,835
Threads: 954
Joined: May 2006
#7
2012-01-28, 05:45 PM
johnsonx42, typo on the last word?

Martin
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#8
2012-01-28, 06:31 PM
no, perhaps I softened my own point, but what I meant was that a general purpose system that runs lots of different programs is more likely to encounter problems with swap disabled. so therefore many people may say "I disabled swap on my single-use HTPC and have no problems so it must be a good idea", when it's not the sort of system that would tend to encounter such problems in the first place.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,835
Threads: 954
Joined: May 2006
#9
2012-01-28, 06:40 PM
Ok thanks for the clarification since as a standalone sentence I disagreed. I still don't categorically agree now either since for the single-purpose machines HTPC, people (not the OP) quite often are penny-pinching on the RAM, CPU and the swap still might be more important just because of Win7 optimization.

Martin
Elmo Putney
Offline

Senior Member

Posts: 615
Threads: 119
Joined: Feb 2008
#10
2012-01-28, 07:42 PM
Quote: why bother with the latter?

Dish won't be pointing at 28.2 - my wife is French

I am generally tending towards not getting rid of the swap file based on this discussion - though I might try it out just to see.
[SIZE="4"]Elmo Putney[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Comskip config file spudjg1 0 2,035 2019-08-26, 02:49 PM
Last Post: spudjg1
  TS and PART file? Download/recording tv streams joeijm 5 3,723 2018-03-25, 01:53 AM
Last Post: joeijm
  Not saving in s01e01 file format jeflatt 4 2,966 2015-09-30, 08:26 PM
Last Post: mvallevand
  Replace video file without windows telling apps the original was deleted? ATHiker 0 1,643 2013-11-25, 09:23 PM
Last Post: ATHiker
  get working/batch/file dirs from one line[any dir of it's path too!] pBS 17 12,387 2013-11-05, 12:03 PM
Last Post: pBS
  Need Help With Video File Types bdgbill 8 3,978 2012-12-30, 11:43 PM
Last Post: Reddwarf
  how to make a dvd from ts file fuzzweed 3 2,286 2012-04-04, 03:46 PM
Last Post: Reddwarf
  Extracting ADS metadata to a seperate file ACTCMS 8 4,736 2011-10-14, 08:23 PM
Last Post: ACTCMS
  Batch file help imilne 2 1,611 2010-03-07, 07:12 PM
Last Post: speising
  Batch file to run Eventghost on PVRX2.exe start AND close it on PVRX.exe exit? jksmurf 7 4,667 2009-03-16, 12:04 AM
Last Post: HtV

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode