Announcement
Collapse
No announcement yet.
Ubuntu To Begin Making Use Of Swapfiles In Place Of SWAP Partitions
Collapse
X
-
Originally posted by jpp650 View PostAre you fully sure of that? I didn't check the kernel source code from one year ago or so, but I think that it crosses all FS logic (vnode, etc.). Probably I can check it with ftrace.
Comment
-
Originally posted by jpp650 View PostFantastic idiotic movement from Ubuntu. If for whatever reason I need to page-out because of memory shortage, now I know that it will crawl even more if I use Ubuntu, thanks to having to cross the filesystem layer to reach the storage. They should call the distribution Microsoft-Linux and recommend it only to desktops.
Besides, if the speed of swapping is an issue you already have bigger problems to worry about.
- Likes 1
Comment
-
Originally posted by fabdiznec View Post
Not sure if trolling or not, but... crossing the filesystem layer is not a big deal. Your disk (hard drive or SSD, doesn't matter) is at least two orders of magnitude slower than your CPU/RAM. The overhead is completely negligible.
Besides, if the speed of swapping is an issue you already have bigger problems to worry about.
- Likes 4
Comment
-
Originally posted by jpp650 View Post
My experience is exactly the contrary. Dedicating an entire VG with raw LVs for swapping is a big difference with respect of using swapfiles, usually when a database server has a runaway SQL query. I don´t think that the difference is negligible under heavy load conditions.
- Likes 1
Comment
-
Originally posted by Zan Lynx View PostWindow's swap method works a whole lot better if you need the swap. Even before it needs swap it starts writing pages to swap without removing them from RAM, just in case it needs to swap them.
- Likes 2
Comment
-
Originally posted by Zan Lynx View PostWindow's swap method works a whole lot better if you need the swap. Even before it needs swap it starts writing pages to swap without removing them from RAM, just in case it needs to swap them.
- Likes 1
Comment
-
-
Originally posted by pal666 View Postlinux supported this before release of nt 4.0. it is not used by default because it is slower and makes no sense
there is exactly one usecase for swap files: when you already have system and discovered that you need more swap and can't make space available as partition
Comment
Comment