list of all subsystems (swap space)
Hi All, 1. so I tried to find out which subsystem the swap space comes under.. when I googled for list of subsystems Linux architecture, no luck. Between, I found out that kernel map ( http://www.makelinux.net/kernel_map/ ), which gives me kind of subsystems/modules. Is there any documentation/links for list of subsystems on Linux?!?! 2. it looks like swap space itself a separate subsystem/module. I thought to subscribe to some lkml dl for swap, but I am not finding any DL at all. Please suggest. Best regards Sekar On Jan 15, 2018 11:52 PM, "inventsekar" <inventsekar@gmail.com> wrote: Hi All, I have been reading about swap space and got these questions... 1. Btrfs was the only one fs which got this below issue or any other fs also? 2. The other way around - is there any FS which is best suitable (best performance) for swap file? 2. Is this issue still there or the wiki isn't updated? *https://wiki.archlinux.org/index.php/swap <https://wiki.archlinux.org/index.php/swap>* *Warning:* Btrfs <https://wiki.archlinux.org/index.php/Btrfs> does not support swap files. Failure to heed this warning may result in file system corruption. While a swap file may be used on Btrfs when mounted through a loop device, this will result in severely degraded swap performance. Any suggestions, links, documentations please. Best regards Sekar
Ohk, I did some more search and found this... sharing for newbies like me.
The kernel source tree...
Even the just the modules directory reflects some of that.
ls /lib64/modules/2.6.27-14-generic/kernel/ arch crypto drivers fs lib net sound ubuntu
ls /lib64/modules/2.6.27-14-generic/kernel/drivers/ acpi auxdisplay cdrom crypto edac gpu i2c input md mfd mtd pci rtc spi uio virtio ata block char dca firmware hid ieee1394 isdn media misc net pcmcia scsi ssb usb w1 atm bluetooth cpufreq dma gpio hwmon infiniband leds message mmc parport power serial telephony video watchdog
On Jan 19, 2018 11:34 PM, "inventsekar" <inventsekar@gmail.com> wrote:
Hi All,
1. so I tried to find out which subsystem the swap space comes under.. when I googled for list of subsystems Linux architecture, no luck. Between, I found out that kernel map ( http://www.makelinux.net/ kernel_map/ ), which gives me kind of subsystems/modules.
Is there any documentation/links for list of subsystems on Linux?!?!
2. it looks like swap space itself a separate subsystem/module. I thought to subscribe to some lkml dl for swap, but I am not finding any DL at all. Please suggest.
Best regards Sekar
On Jan 15, 2018 11:52 PM, "inventsekar" <inventsekar@gmail.com> wrote:
Hi All, I have been reading about swap space and got these questions...
1. Btrfs was the only one fs which got this below issue or any other fs also? 2. The other way around - is there any FS which is best suitable (best performance) for swap file? 2. Is this issue still there or the wiki isn't updated?
*https://wiki.archlinux.org/index.php/swap <https://wiki.archlinux.org/index.php/swap>* *Warning:* Btrfs <https://wiki.archlinux.org/index.php/Btrfs> does not support swap files. Failure to heed this warning may result in file system corruption. While a swap file may be used on Btrfs when mounted through a loop device, this will result in severely degraded swap performance.
Any suggestions, links, documentations please.
Best regards Sekar
On Fri, 19 Jan 2018 21:04:32 +0530, inventsekar said:
1. so I tried to find out which subsystem the swap space comes under..
There's nothing for swap in particular. The decision of what pages to move out of memory is in the code under mm/ (memory management). The actual I/O to/from a swap area depends on what the backing store is - a disk partition, a file on a filesystem, an NFS mount, or whatever - the I/O gets handled by whatever drives any other I/O for that target. MAINTAINERS tells us: MEMORY MANAGEMENT L: linux-mm@kvack.org W: http://www.linux-mm.org S: Maintained F: include/linux/mm.h F: include/linux/gfp.h F: include/linux/mmzone.h F: include/linux/memory_hotplug.h F: include/linux/vmalloc.h F: mm/
participants (2)
-
inventsekar -
valdis.kletnieks@vt.edu