Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Was it really nessessary for linux to create a 4.8 Gb swap file?
New Posts  All Forums:Forum Nav:

Was it really nessessary for linux to create a 4.8 Gb swap file? - Page 2

post #11 of 12
Quote:
Originally Posted by aweir View Post

The point is that Windows doesn't create a partition solely for the use of the pagefile. why does the swap file have to be on a separate partition?

It doesn't, but that's the convention. It guarantees a fragmentation-free region of disk space to use for swapping. A swap file can only be fragmentation-free if the filesystem is relatively new and clean, such as when you first install. The performance of a swap file created at install time in the same physical disk location as a swap partition is identical to the partition. The file is created in a single contiguous block (if possible, hence the lack of a guarantee) and it is never moved, resized or rearranged by the kernel unless you explicitly do it yourself.
    
CPUMotherboardGraphicsRAM
i7 920 D0 MSI X58 Pro-E GTX 560 Ti 448 3x2GB G.Skill DDR3-1333 9-9-9-24 
Hard DriveHard DriveOptical DriveOS
840 Pro Caviar Black LG BD-ROM Windows 8.1 Pro x64 
MonitorMonitorKeyboardPower
Dell U2713HM Dell U2311H Turbo-Trak (Google it :D) Corsair HX-520 
CaseMouseMouse PadAudio
CM690 Mionix Avior 7000 Everglide Titan AKG K 242 HD 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
i7 920 D0 MSI X58 Pro-E GTX 560 Ti 448 3x2GB G.Skill DDR3-1333 9-9-9-24 
Hard DriveHard DriveOptical DriveOS
840 Pro Caviar Black LG BD-ROM Windows 8.1 Pro x64 
MonitorMonitorKeyboardPower
Dell U2713HM Dell U2311H Turbo-Trak (Google it :D) Corsair HX-520 
CaseMouseMouse PadAudio
CM690 Mionix Avior 7000 Everglide Titan AKG K 242 HD 
  hide details  
Reply
post #12 of 12
Quote:
Originally Posted by Shrak View Post

I honestly have never seen my swap actually get used whether I've used 2gb of ram ( my laptop ), or 32gb ( my desktop ). And both have 4gb swap partitions. CBA to disable them or do away with them either.

I've got 12GB here and I intentionally installed without a swap file because I know for a fact I won't need it... 1.3GB of 11.7GB used right now.
The Riginator
(20 items)
 
 
Wife's Rig
(5 items)
 
CPUGraphicsRAMHard Drive
Qualcomm Snapdragon S600 Adreno 330 2GB LPDDR3 NAND Storage 
Hard DriveOSMonitorKeyboard
Samsung 32GB MicroSD Android 4.4.2 KitKat 5 inch (441ppi) 1080x1920 Super AMOLED SwiftKey 
Power
2600mAh Battery 
  hide details  
Reply
The Riginator
(20 items)
 
 
Wife's Rig
(5 items)
 
CPUGraphicsRAMHard Drive
Qualcomm Snapdragon S600 Adreno 330 2GB LPDDR3 NAND Storage 
Hard DriveOSMonitorKeyboard
Samsung 32GB MicroSD Android 4.4.2 KitKat 5 inch (441ppi) 1080x1920 Super AMOLED SwiftKey 
Power
2600mAh Battery 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Was it really nessessary for linux to create a 4.8 Gb swap file?