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. |
|
|
|
Thread Tools | Rate Thread | Display Modes |
#1
|
|||
|
|||
Swap files number
Hello,
I have 2 partitions on one physical hard disk, is it necessary to have 2 swap files? Thanks. |
Ads |
#2
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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... |
#8
|
|||
|
|||
Swap files number
|
#9
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
Swap files number
|
#14
|
|||
|
|||
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
|
|||
|
|||
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 |
|
|