A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Windows 10 » Windows 10 Help Forum
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Swap files number



 
 
Thread Tools Rate Thread Display Modes
  #1  
Old February 17th 18, 08:13 AM posted to alt.comp.os.windows-10
Tigerfr
external usenet poster
 
Posts: 12
Default Swap files number

Hello,
I have 2 partitions on one physical hard disk, is it necessary to have
2 swap files?
Thanks.
Ads
  #2  
Old February 17th 18, 08:33 AM posted to alt.comp.os.windows-10
Auric__
external usenet poster
 
Posts: 295
Default Swap files number

Tigerfr wrote:

I have 2 partitions on one physical hard disk, is it necessary to have
2 swap files?


I wouldn't have more than 1 swapfile per physical drive. On a normal (non-
SSD) hard drive, multiple swapfiles would probably have a negative impact on
performance.

--
- Who is John Galt?
- Who cares?
  #3  
Old February 17th 18, 12:49 PM posted to alt.comp.os.windows-10
GS
external usenet poster
 
Posts: 179
Default Swap files number

Adding to Auric's reply...

If you need a larger SwapFile I think you can specify its size (reserved
space). Not sure where you'd do this though because RAM has been so cheap for
so long I'm content to leave it at the default setting.

Note that extensive use of this file slows performance considerably. Better you
increase RAM instead.(IMHO)

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion
  #4  
Old February 17th 18, 01:52 PM posted to alt.comp.os.windows-10
Tigerfr
external usenet poster
 
Posts: 12
Default Swap files number

GS a émis l'idée suivante :
Adding to Auric's reply...

If you need a larger SwapFile I think you can specify its size (reserved
space). Not sure where you'd do this though because RAM has been so cheap for
so long I'm content to leave it at the default setting.

Note that extensive use of this file slows performance considerably. Better
you increase RAM instead.(IMHO)


In fact the initial problem is not the swap file but without reason
win10 restart.
I tried to find so many work around, imposing the swap file size is the
almost last one.
Someone said also to change the power supply.
  #5  
Old February 17th 18, 03:57 PM posted to alt.comp.os.windows-10
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default Swap files number

Tigerfr wrote:
GS a émis l'idée suivante :
Adding to Auric's reply...

If you need a larger SwapFile I think you can specify its size
(reserved space). Not sure where you'd do this though because RAM has
been so cheap for so long I'm content to leave it at the default setting.

Note that extensive use of this file slows performance considerably.
Better you increase RAM instead.(IMHO)


In fact the initial problem is not the swap file but without reason
win10 restart.
I tried to find so many work around, imposing the swap file size is the
almost last one.
Someone said also to change the power supply.


Check for details in Reliability Monitor. Right-click Start, go to the Run
box and enter "control" or "control.exe" to find the Control Panels. In
the search box in Control Panels, enter "reliability" to find mention
of the Reliability Monitor. Then look in the Windows Failures row.

https://s14.postimg.org/lbm7wocoh/re...ty_monitor.gif

*******

Windows 10 has a memory test program built in. It
runs on a reboot, once it has been enabled.

https://www.howtogeek.com/260813/how...-for-problems/

Verify that your RAM is working well and without error.

*******

The files in the root of C: include:

swapfile.sys 256MB (used for kernel hibernation between boots,
and is used for the "Fast Start" feature)

hiberfil.sys xxx hibernates the entire session to disk

pagefile.sys xxx used for paging out non-resident chunks
of RAM. On Windows 10, this is hardly used.
It takes effort to trick the OS into using it.
Multiple files can be used, one per disk drive
being the most useful option. But since Windows 10
hardly uses the pagefile, there might not be much
purpose in doing so.

I recommend disabling Fast Start. While the kernel image is regenerated
every once in a while (some boots will involve a full reboot and
loading of kernel and drivers), it's just not a good idea to be using a
hibernated kernel.

The other two files can be adjusted by the user. I switch off hibernation
on machines with a large amount of RAM. I adjust the pagefile for
a relatively small value, as testing shows Windows 10 doesn't really
like to use it.

Windows 10 uses a "memory compressor", but I've not found a good
article that describes the dynamics of it. If I run Windows 10
in a virtual machine, set the VM RAM to 256MB (substantially less
than the 1GB recommendation), the OS runs just fine and I can
launch Notepad. But in Task Manager, the memory compressor
runs constantly. I don't know what it's doing though, and
why compression is a good idea.

Paul
  #6  
Old February 17th 18, 04:39 PM posted to alt.comp.os.windows-10
Mayayana
external usenet poster
 
Posts: 6,438
Default Swap files number

"Tigerfr" wrote

| I have 2 partitions on one physical hard disk, is it necessary to have
| 2 swap files?

No. I have 10 partitions on 2 hard disks. I
have one swap file on D drive, with a set
size. The reason is to reduce space used on
C and to reduce fragmentation by swap.


  #7  
Old February 17th 18, 09:02 PM posted to alt.comp.os.windows-10
Tigerfr
external usenet poster
 
Posts: 12
Default Swap files number

Dans son message précédent, KenW a écrit :
I have 2 partitions on one physical hard disk, is it necessary to have
2 swap files?
Thanks.


Two partitions for what ?


One for windows and softwares, the other one for the datas, documents,
music, pictures...
  #9  
Old February 17th 18, 10:13 PM posted to alt.comp.os.windows-10
Mayayana
external usenet poster
 
Posts: 6,438
Default Swap files number

"pjp" wrote

| I've never really understood why people make multipule paritions on
| single physical hard disks.

I do it for several reason. Multi-booting. Organization.
Redundancy. Security/integrity.

Organization: I have basic storage partitions for big
stuff, another for media -- photos, graphics, videos.
I have one that's relatively small and has copies of all
frequently backep up files. So I can just copy
that partition to a DVD when I want to do a backup.
I use 2 disks that are mostly redundant, in case one
dies suddenly. And I have a row of shortcuts along the
top of the desktop, one for each partition. So it's
easy to just drop currnt work into multiple partitions
for temporary backup.

Multi-booting: I used to experiment with Linux and
in the 9x days I'd have several OSs multibooting
for testing software. These days I don't do that
so much, but I still like the idea of small OS
partitions up front.

Security: If something goes wrong with Windows
I'm not risking everything else on the disk. If C
suddenly goes bad and I have to reinstall a disk image
that doesn't affect the data.
I think of it like a tractor trailer. The OS and software
are the tractor. They only need a few GBs. And the
tractor is fundamentally different from the trailer. One
is a motor, the other just storage. The motor is far
more at risk for corruption, system failure, malware, etc.
The data partitions are the trailer. A corrupt system file
won't hurt those.

To me it's absurd to waste 100s of GBs empty space,
or at-risk space, to put a 10-60 GB OS on a 1 TB hard disk.
Disks are so big now there just isn't any reason to have an
OS on so much space. It's like having a single truck the
size of 20 trucks. Then if you break down in the desert
with perishable cargo, you lose everything. There's no need
to take such a risk. With disk image backup I can have a
new tractor (OS disk image) hooked up within an hour and
be on my way. (I've never actually had a hard disk die.
I have been in situations where a system became unbootable
and I couldn't save it.)

Once you start using that approach, it makes sense to keep
the disk images as small as possible. These days a lot of people
think they're doing disk image backup when what they're really
doing is to store a constantly-updated copy of Windows
along with all data. That's clunky, wasteful and insecure.
You can't store a copy on DVDs, so typically it's going to
be stored on a connectd disk. A disk that will be fried along
with the main disk in the event of a power surge.

You disk image shouldn't need to be updated. Disk image
backup is not about restoring the whole tractor trailer. It's
only necessary to restore the motor/tractor/OS.

I guess if you've got money to burn buying 10+ hard
disks then you can afford to waste a few TBs.

I don't actually have a lot of data. My first disk is
a 256 MB SSD. The second is 500 GB. I still have lots of
space on both.

| I think they think it's so if something goes bad the "other" partitions
| are ok. I've instead found if a parition is bad then the disk is also
| bad

Only if the problem is the hardware. If you have a
fatal OS problem then C drive may be kaput, but that
has no effect on data partitions.


  #10  
Old February 18th 18, 01:56 AM posted to alt.comp.os.windows-10
GS
external usenet poster
 
Posts: 179
Default Swap files number

GS a émis l'idée suivante :
Adding to Auric's reply...

If you need a larger SwapFile I think you can specify its size (reserved
space). Not sure where you'd do this though because RAM has been so cheap
for so long I'm content to leave it at the default setting.

Note that extensive use of this file slows performance considerably. Better
you increase RAM instead.(IMHO)


In fact the initial problem is not the swap file but without reason win10
restart.
I tried to find so many work around, imposing the swap file size is the
almost last one.
Someone said also to change the power supply.


Sorry.., my bad! I was thinking of Pagefile...

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion
  #11  
Old February 18th 18, 06:03 PM posted to alt.comp.os.windows-10
Tigerfr
external usenet poster
 
Posts: 12
Default Swap files number

Dans son message précédent, pjp a écrit :


I've never really understood why people make multipule paritions on
single physical hard disks. I'm old enough though to remember a time


In my case it looks a more logical organization.
It's better as well when I save my OS as image to avoid a large image
and a waste of time being a non motivation to do it frequently and so
on..
  #12  
Old February 19th 18, 09:06 PM posted to alt.comp.os.windows-10
No_Name
external usenet poster
 
Posts: 47
Default Swap files number

On Sat, 17 Feb 2018 10:39:43 -0500, "Mayayana"
wrote:

"Tigerfr" wrote

| I have 2 partitions on one physical hard disk, is it necessary to have
| 2 swap files?

No. I have 10 partitions on 2 hard disks. I
have one swap file on D drive, with a set
size. The reason is to reduce space used on
C and to reduce fragmentation by swap.


If you have run out of room on a "disc" them move it rather than
supliment it. If that disc is on the same drive then the speed should
be pretty much the same

You *could* add a cheap/fast disc and maker it your pagefile disc
alone.

Beamer Smith
Out on a limb, sawing Madly
  #13  
Old February 19th 18, 10:12 PM posted to alt.comp.os.windows-10
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default Swap files number

wrote:
On Sat, 17 Feb 2018 10:39:43 -0500, "Mayayana"
wrote:

"Tigerfr" wrote

| I have 2 partitions on one physical hard disk, is it necessary to have
| 2 swap files?

No. I have 10 partitions on 2 hard disks. I
have one swap file on D drive, with a set
size. The reason is to reduce space used on
C and to reduce fragmentation by swap.


If you have run out of room on a "disc" them move it rather than
supliment it. If that disc is on the same drive then the speed should
be pretty much the same

You *could* add a cheap/fast disc and maker it your pagefile disc
alone.

Beamer Smith
Out on a limb, sawing Madly


But this is Windows 10.

Have you looked at how much paging it does ?

I tried to make it page, and it was pretty difficult.
It is just as likely to report an "out of memory" condition,
as to page for you.

The best I could do (so far), was to start two programs
that consume memory a bit at a time, and have them "race"
to use up all of system memory. And I could see a paging
spike by doing that. And that was it.

No grinding to a crawl like back in the WinXP days. The
"unwinding" of the pagefile on WinXP used to take forever,
because it was basically doing random 4KB reads all over
the pagefile, with no locality of reference. I've not seen that
behavior on Windows 10.

I'm not convinced that "making a project" out of the pagefile,
is a good usage of your time. It's not like the old days.

Back on WinXP, it was worth doing all these experiments.
(I even ran WinXP with the Pagefile on a RAMDisk for a couple
days, and that setup was buttery smooth. But because it had
a functional failure on the second day, I had to take it
apart again. The RAMDisk, has a very low seek time, and
a relatively high bandwidth, so you would hardly notice a
1GB program paging in or out. The setup consisted of
WinXP x32 in the lower 4GB of memory, and DataRAM RAMdisk
in the upper 4GB of memory. using a version of the RAMDisk
that supports PAE. The version you can buy today, no longer
supports that mode of operation, and I suspect Microsoft
had words with the developer about it.)

Paul
  #14  
Old February 21st 18, 05:01 AM posted to alt.comp.os.windows-10
Tigerfr
external usenet poster
 
Posts: 12
Default Swap files number

Il se trouve que GS a formulé :
GS a émis l'idée suivante :


Sorry.., my bad! I was thinking of Pagefile...


Do you mean swap file is not pagefile.sys?
  #15  
Old February 21st 18, 05:34 AM posted to alt.comp.os.windows-10
GS
external usenet poster
 
Posts: 179
Default Swap files number

Il se trouve que GS a formulé :
GS a émis l'idée suivante :


Sorry.., my bad! I was thinking of Pagefile...


Do you mean swap file is not pagefile.sys?


Back in the high$$ RAM days we used to 'inflate' the pagefile to defer apps
slowing down to do read/write to disc instead of 'in memory'. I think we used
to term it 'swapfile' because of its interaction with OS and apps.

FWIW:
Hardware is so cheap now that 'disposable' computer product is almost
acceptible. I remember my 1st Dell Precision series portable workstation cost
about $4800 back when XP arrived; my 2nd one about $3800. These were
state-of-the-art Sherman Tank versions of a laptop w/486 processors,
unbeleivable graphics qualities, loads of RAM and storage for use by
designers/engineers. Pricing that recently came in at about $2600, but I found
gaming laptops to have the same or better hardware/video/processors for less
than half the cost. Seems the OEMs know the pros will pay the Rolls Royce
price, but the gamers on Corvette prices.

But then when I was introduced to computers in college, 1 computer occupied
several rooms. So what do I know!

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion
 




Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off






All times are GMT +1. The time now is 03:45 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.