| PLEX86 | ||
|
swap file and swap parbreastion-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
No. And yes
Lets start at the beginning 'swap' (more correctly, 'paging') is a method of managing real memory that permits the OS toappearto have more memory than it really does. The excess memory is emulated on a storage medium (say, disk), and the OS provides mapping logic to move blocks of data between real memory and this storage media as required by the demands of the programs executing at the time. So, all the OSneedsis access to some storage medium in order to implement 'swap'. Well, the OSdoeshave access to storage medium, in multiple forms. It has direct access to the underlying hard drive, and can take a portion of the hard drive for it's 'swap' use. This strategy is called 'swap parbreastion', and requires that you pre-define the size and location of the disk storage before you begin using it as swap. The OS also has access to files recorded on the hard drive, and can use a file to store the swap space. This strategy is called 'swap file', and while it does not require preallocation, it does add extra overhead as the OS has to go through both disk I-O (like 'swap parbreastion') *and* file I-O to access the swap data. kernel must be located in the beginning sectors of the harddisk BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nope. The Linux kernel image may be placed anywhere on the media... Therecommendedmethod in Linux is a swap parbreastion, as it has less overhead than swap file access. However, Linux supportsbothswap parbreastion and swap file as swap storage. MSWindows, on the other hand, only uses swap files. HTH - -- Lew Pitcher
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (MingW32) - WinPT 0.11.12 iD8DBQFEzfp3agVFX4UWr64RAuwHAJ4n34W8dLB-cf09YL-tBDI28zSeUQCdGTfl y7gyNf6rk9KnIf38KlS0zkM= =hcUS -----END PGP SIGNATURE-----
|
||||
kernel must be located in the beginning sectors of the harddisk Linux groups from Newsgroups The #1 Usenet Provider on the Internet
|
||||