[Kernel-packages] [Bug 1833281]

2022-03-27 Thread hi-angel
Modern kernels handle SWAPPING situations much better. Also, these days the Multi-LRU patchset should pretty much resolve the problem. It is not yet upstream, but is used in downstream kernels such as linux-zen and liquorix-kernel. There is hope it will be merged by 5.19¹ 1:

[Kernel-packages] [Bug 1833281]

2022-01-20 Thread egorfedorovichletov
Are there any changes? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1833281 Title: System freeze when memory is put on SWAP in Linux >4.10.x Status in Linux: Confirmed Status in

[Kernel-packages] [Bug 1833281] Re: System freeze when memory is put on SWAP in Linux >4.10.x

2020-12-24 Thread Kevin Wortman
I am experiencing this bug on a stock Dell Inspiron 5000 (5482) with 8 GB RAM and the factory SSD. It is completely debilitating. Having 1-2 completely unpredictable, 30-minute-plus, hard freezes per day is a showstopper. I can't trust this environment for professional work, or even to take notes

[Kernel-packages] [Bug 1833281]

2020-09-23 Thread admin
@lou +1 Sorry for my Google translate. This bug is very many years old. This is *Bug 12309* !!! Why didn't anyone remember? I'm tired of him. Was in the early 2010s for 512 MB of RAM. Was in the early 2010s for 512 MB of RAM. and 2 GB of RAM. Mid 2010s with 4GB of RAM. And for the past

[Kernel-packages] [Bug 1833281] Re: System freeze when memory is put on SWAP in Linux >4.10.x

2020-03-31 Thread Kai-Heng Feng
Possible duplicate of LP: #1861359. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1833281 Title: System freeze when memory is put on SWAP in Linux >4.10.x Status in Linux: Confirmed

[Kernel-packages] [Bug 1833281]

2020-03-30 Thread bugzilla
I primarily test by building webkitgtk [1], and I experience the same loss of system responsiveness whether / is ext4 or Btrfs. But I do see a difference in top and iotop. https://drive.google.com/open?id=12jpQeskPsvHmfvDjWSPOwIWSz09JIUlk This is an extreme case of refaulting, it's out of

[Kernel-packages] [Bug 1833281]

2020-03-30 Thread russianneuromancer
Christoph, your issue is different. Please fill separate bugreport. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1833281 Title: System freeze when memory is put on SWAP in Linux

[Kernel-packages] [Bug 1833281]

2020-03-30 Thread bugzilla
Another resource, quite long but has a tl;dr, and reviewed by some of the cgroups/resource control folks: https://chrisdown.name/2018/01/02/in-defence-of-swap.html I'll use somewhat technically sloppy language, but hopefully a useful metaphor: there's incidental swap and heavy swap. Incidental

[Kernel-packages] [Bug 1833281]

2020-03-30 Thread russianneuromancer
On HP Stream 7 Tablet (1GB RAM) there was similar regression, but it started since Linux 4.12 instead of 4.10. Last year I tried bisect and several workarounds such as autostart cleanup, sysctl tweaks, zram, etc. But in the end it's seems like Linux 5.5.8 solved issue, at least in this particular

[Kernel-packages] [Bug 1833281] Re: System freeze when memory is put on SWAP in Linux >4.10.x

2020-03-26 Thread Corben
It seems that zram mitigates the problem for me during a work day. As long as the system doesn't have to write swap to the disk, it seems fine. The longer I use the system, the sooner it is running out of (z)ram and swapping also to disk. As soon as this happens, I get these freezes again. I

[Kernel-packages] [Bug 1833281] Re: System freeze when memory is put on SWAP in Linux >4.10.x

2020-02-12 Thread Nico R
Can confirm this on Kubuntu 19.10 on a Core i5-4310U. My RAM is fairly big enough for what I'm doing everyday, but as soon as the tiniest swapping occurs, it renders the machine quite unusable - stuttering window animations, stuttering/hanging mouse cursor, often for 1-2 minutes. As I can see, the

[Kernel-packages] [Bug 1833281] Re: System freeze when memory is put on SWAP in Linux >4.10.x

2020-02-05 Thread Corben
I'm experiencing the same issue since I upgraded to Kernel 5.3.0 on Ubuntu 18.04 LTS via HWE stack. This still does not happen with kernel 4.15 and iirc didn't happen with Kernel 5.0.0 (which got replaced with 5.3.0 through the HWE stack). I see a heavy increase in the swap file usage after a

[Kernel-packages] [Bug 1833281]

2020-01-07 Thread m.novosyolov
(In reply to ValdikSS from comment #60) > I'm not sure, but people on Rosa forum blamed BTRFS for this bug. I'm pretty > sure it's not directly tight with BTRFS, but write and read amplification > may explain why lags are more severe with this FS. People here and on ROSA forum blamed BTRFS for

[Kernel-packages] [Bug 1833281]

2020-01-07 Thread cfeck
I don't use btrfs, but only ext4 on an SSD. Since updating my system from kernel 5.1.7 to kernel 5.3.12 in Tumbleweed, I get regular ~1-2 second freezes (e.g. mouse pointer hangs in X11, or characters don't appear while typing in Konsole) while Blender renders and swaps out finished tiles. This

[Kernel-packages] [Bug 1833281]

2019-12-27 Thread m.novosyolov
(In reply to ValdikSS from comment #58) > I have an idea why this bug is much worse with BTRFS than with EXT4: BTRFS > has much bigger read/write amplification, up to 10x higher than EXT4. You mean that when e.g. Chromium browser writes its cache, it loads IO "up to 10x higher than EXT4", and,

[Kernel-packages] [Bug 1833281]

2019-12-27 Thread iam
(In reply to Mikhail Novosyolov from comment #59) > You mean that when e.g. Chromium browser writes its cache, it loads IO "up > to 10x higher than EXT4" Yes. This is also true for read operations, not only for write. > and, when IO is also loaded by swapping, it causes > microfreezes? Yes,

[Kernel-packages] [Bug 1833281]

2019-12-27 Thread iam
I have an idea why this bug is much worse with BTRFS than with EXT4: BTRFS has much bigger read/write amplification, up to 10x higher than EXT4. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1833281] Re: System freeze when memory is put on SWAP in Linux >4.10.x

2019-11-15 Thread Pål Bergström
I have similar problem but more short freezes and lags. Is an update of the graphic drives a solution? For some it seems that way. If so why? https://askubuntu.com/questions/1185491/ubuntu-19-10-freezes-and-lags- reguarly -- You received this bug notification because you are a member of Kernel

[Kernel-packages] [Bug 1833281] Re: System freeze when memory is put on SWAP in Linux >4.10.x

2019-10-09 Thread GoodMirek
Same issue here, although I run Fedora 31 with KDE Plasma DE. Swapping with 5.2.17 works fine, even when using 4GB of swap for several days. Swapping with 5.3.2 causes a complete freeze, i.e. screen freezes up, no mouse movement, no TTY access. I did not try SYSRQ keys. System under test: HP

[Kernel-packages] [Bug 1833281]

2019-09-13 Thread iam
Recently, about since kernel 5.2.7, the issue is either gone or present to much less extent. Right now I'm running kernel 5.2.11 and finally I can keel Firefox and VirtualBox running at the same time, with 3G+ in swap, and the system does not freeze. Could anyone affected by this issue try

[Kernel-packages] [Bug 1833281]

2019-09-13 Thread m.novosyolov
(In reply to ValdikSS from comment #53) > Recently, about since kernel 5.2.7, the issue is either gone or present to > much less extent. > Right now I'm running kernel 5.2.11 and finally I can keel Firefox and > VirtualBox running at the same time, with 3G+ in swap, and the system does > not

[Kernel-packages] [Bug 1833281]

2019-09-13 Thread howaboutsynergy
On an unrelated note(but since btrfs was thought to be a problem at some point), I've discovered that btrfs with zstd:5 (or worse zstd:15) can cause (at least) mouse cursor stuttering(like it was skipping frames), while zstd:1 doesn't(likely because of the low CPU usage during compression),

[Kernel-packages] [Bug 1833281]

2019-09-13 Thread m.novosyolov
(In reply to howaboutsynergy from comment #55) > On an unrelated note(but since btrfs was thought to be a problem at some > point), I've discovered that btrfs with zstd:5 (or worse zstd:15) can cause > (at least) mouse cursor stuttering(like it was skipping frames), while > zstd:1 doesn't(likely

[Kernel-packages] [Bug 1833281]

2019-09-13 Thread m.novosyolov
(In reply to Mikhail Novosyolov from comment #54) > > So, something was fixed in upstream, backported to LTS kernel 4.19 and to > Ubuntu kernel. I don't know what. And that issue is 100% not in BTRFS but is > another problem or another aspect of the problem. > I can suspect commit

[Kernel-packages] [Bug 1833281]

2019-09-02 Thread m.novosyolov
Forgot to write, that if I ran $ stress --vm 2 --vm-bytes 1000M --vm-keep swap is eventually used normally -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1833281 Title: System freeze

[Kernel-packages] [Bug 1833281]

2019-09-02 Thread m.novosyolov
(In reply to ValdikSS from comment #36) > Those who experience the issue, try to set the following sysctl settings: > > vm.swappiness=100 > vm.watermark_scale_factor=200 > > It greatly helps on my PC. It did not change anything. Still only around ~15 MB are swapped while 3.5 out of 4 GB of RAM

[Kernel-packages] [Bug 1833281]

2019-09-02 Thread m.novosyolov
Created attachment 284677 log of read_vmstat when filling RAM with new tabs in Chromium (In reply to Michal Hocko from comment #8) > Created attachment 258067 [details] > read_vmstat.c > > On Tue 22-08-17 15:55:30, Andrew Morton wrote: > > > > (switched to email. Please respond via emailed

[Kernel-packages] [Bug 1833281]

2019-09-02 Thread howaboutsynergy
Just an idea, try reproducing with kernel patch `le9g.patch`: ``` diff --git a/mm/vmscan.c b/mm/vmscan.c index dbdc46a84f63..7a0b7e32ff45 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -2445,6 +2445,13 @@ static void get_scan_count(struct lruvec *lruvec, struct mem_cgroup *memcg,

[Kernel-packages] [Bug 1833281]

2019-09-02 Thread lukycrociato
its(In reply to Mikhail Novosyolov from comment #43) > I encountered the same or a similar bug on BTRFS + HDD 5400 RPM + swap on a > separate partition. Unfortunately, that notebook is not mine and is far away > from me, what makes it hard to make experiments, kernels 4.15 and 4.18 both > did have

[Kernel-packages] [Bug 1833281]

2019-09-02 Thread m.novosyolov
Did anybody try to reproduce it in a virtual environment? It would allow to bibisect the kernel automatically. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1833281 Title: System

[Kernel-packages] [Bug 1833281]

2019-09-02 Thread m.novosyolov
(In reply to Jim Rees from comment #47) > This bug is being discussed on lkml: > https://lkml.org/lkml/2019/8/4/15 > > I'm not going to participate there, but someone should point them to this > bug and point out that everything worked fine until 4.10. Sometimes things > that used to work and

[Kernel-packages] [Bug 1833281]

2019-09-02 Thread m.novosyolov
I encountered the same or a similar bug on BTRFS + HDD 5400 RPM + swap on a separate partition. Unfortunately, that notebook is not mine and is far away from me, what makes it hard to make experiments, kernels 4.15 and 4.18 both did have this problem, which can be reliably reproduced by running #

[Kernel-packages] [Bug 1833281]

2019-09-02 Thread m.novosyolov
Did anyone try to reproduce it on (open)SUSE, especially with their LTS kernel 4.12? SUSE uses BTRFS by default and develops it, there is a chance that they might have caught and fixed or worked around this problem or maybe their default sheduler/kernel options/etc prevent this. -- You

[Kernel-packages] [Bug 1833281]

2019-09-02 Thread jim
This bug is being discussed on lkml: https://lkml.org/lkml/2019/8/4/15 I'm not going to participate there, but someone should point them to this bug and point out that everything worked fine until 4.10. Sometimes things that used to work and then got broken rate a higher priority. -- You

[Kernel-packages] [Bug 1833281]

2019-07-03 Thread lukycrociato
(In reply to ValdikSS from comment #41) > (In reply to Luca from comment #40) > > I switched from BTRFS to EXT4 and this did seem to solve the problem, at > > least for me. > > Do you use swap file or swap partition? I use swap partition, so it > shouldn't matter, but I indeed have btrfs for /.

[Kernel-packages] [Bug 1833281]

2019-07-03 Thread iam
(In reply to Luca from comment #40) > I switched from BTRFS to EXT4 and this did seem to solve the problem, at > least for me. Do you use swap file or swap partition? I use swap partition, so it shouldn't matter, but I indeed have btrfs for /. -- You received this bug notification because you

[Kernel-packages] [Bug 1833281]

2019-07-02 Thread lukycrociato
I switched from BTRFS to EXT4 and this did seem to solve the problem, at least for me. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1833281 Title: System freeze when memory is put on

[Kernel-packages] [Bug 1833281] Re: System freeze when memory is put on SWAP in Linux >4.10.x

2019-07-01 Thread Luca Mastromatteo
As insane as it seems... Reverting back to EXT4 from BTRFS fixed the problem... So for me, it is an issue when BTRFS is used as root partition. I wasn't even using swap files -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in

[Kernel-packages] [Bug 1833281]

2019-06-30 Thread lukycrociato
Actually, it did not solved the problem on my AMD desktop, but so far on my Intel laptop it seems fine -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1833281 Title: System freeze when

[Kernel-packages] [Bug 1833281]

2019-06-30 Thread lukycrociato
(In reply to ValdikSS from comment #36) > Those who experience the issue, try to set the following sysctl settings: > > vm.swappiness=100 > vm.watermark_scale_factor=200 > > It greatly helps on my PC. I confirm this also works very nicely for me. Thanks. Not it doesn't slow down at all. --

[Kernel-packages] [Bug 1833281] Re: System freeze when memory is put on SWAP in Linux >4.10.x

2019-06-29 Thread Bug Watch Updater
Launchpad has imported 38 comments from the remote bug at https://bugzilla.kernel.org/show_bug.cgi?id=196729. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at

[Kernel-packages] [Bug 1833281] Re: Complete system freeze even when swapping small amounts of memory

2019-06-29 Thread Luca Mastromatteo
Update on this. Looks like it's an old upstream bug. https://bugzilla.kernel.org/show_bug.cgi?id=196729 But now I noticed this also happens on my laptop, but it's more "recoverable" after something like 25/30 minutes. Still, this problem is NOT present in older kernels than 4.10 ** Bug watch

[Kernel-packages] [Bug 1833281] Re: Complete system freeze even when swapping small amounts of memory

2019-06-28 Thread Luca Mastromatteo
I tried on FreeBSD today, and this behavior is not present -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1833281 Title: Complete system freeze even when swapping small amounts of

[Kernel-packages] [Bug 1833281] Re: Complete system freeze even when swapping small amounts of memory

2019-06-26 Thread Luca Mastromatteo
Are you on a Ryzen platform too? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1833281 Title: Complete system freeze even when swapping small amounts of memory Status in linux package

[Kernel-packages] [Bug 1833281] Re: Complete system freeze even when swapping small amounts of memory

2019-06-26 Thread Luca Mastromatteo
Not necessarly, I can reproduce this sometimes with other stress tests -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1833281 Title: Complete system freeze even when swapping small

[Kernel-packages] [Bug 1833281] Re: Complete system freeze even when swapping small amounts of memory

2019-06-22 Thread Kevin Remisoski
Does this happen to you while using a web browser? This is my issue and it doesn't matter which browser or which kernel. Absolute garbage. Not sure what's happened with Ubuntu or why this is happening, but I'll try to figure out why since clearly I'm not the only person this is happening to and

[Kernel-packages] [Bug 1833281] Re: Complete system freeze even when swapping small amounts of memory

2019-06-18 Thread Luca Mastromatteo
A small update on this. I tried another distribution with the same kernel version, and this does not happen... I don't really know why. 0 times out of 10 this does not happen. Also, when this occurs, triggering the OOM with SYSRQ+F also fixes the issues, but shows that no swap memory was being

[Kernel-packages] [Bug 1833281] Re: Complete system freeze even when swapping small amounts of memory

2019-06-18 Thread Luca Mastromatteo
** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1833281 Title: Complete system freeze even when swapping small

[Kernel-packages] [Bug 1833281] CurrentDmesg.txt

2019-06-18 Thread Luca Mastromatteo
apport information ** Attachment added: "CurrentDmesg.txt" https://bugs.launchpad.net/bugs/1833281/+attachment/5271425/+files/CurrentDmesg.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1833281] ProcCpuinfo.txt

2019-06-18 Thread Luca Mastromatteo
apport information ** Attachment added: "ProcCpuinfo.txt" https://bugs.launchpad.net/bugs/1833281/+attachment/5271428/+files/ProcCpuinfo.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1833281] Lspci.txt

2019-06-18 Thread Luca Mastromatteo
apport information ** Attachment added: "Lspci.txt" https://bugs.launchpad.net/bugs/1833281/+attachment/5271426/+files/Lspci.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1833281

[Kernel-packages] [Bug 1833281] UdevDb.txt

2019-06-18 Thread Luca Mastromatteo
apport information ** Attachment added: "UdevDb.txt" https://bugs.launchpad.net/bugs/1833281/+attachment/5271434/+files/UdevDb.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1833281] Re: Complete system freeze even when swapping small amounts of memory

2019-06-18 Thread Luca Mastromatteo
apport information ** Tags added: apport-collected bionic ** Description changed: I'm reporting this since it's reproduceable the 70% of the time. Summary: In different circumstances, when the systems starts to swap out RAM memory, even small amounts, the system becomes completely

[Kernel-packages] [Bug 1833281] PulseList.txt

2019-06-18 Thread Luca Mastromatteo
apport information ** Attachment added: "PulseList.txt" https://bugs.launchpad.net/bugs/1833281/+attachment/5271433/+files/PulseList.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1833281] CRDA.txt

2019-06-18 Thread Luca Mastromatteo
apport information ** Attachment added: "CRDA.txt" https://bugs.launchpad.net/bugs/1833281/+attachment/5271424/+files/CRDA.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1833281

[Kernel-packages] [Bug 1833281] ProcCpuinfoMinimal.txt

2019-06-18 Thread Luca Mastromatteo
apport information ** Attachment added: "ProcCpuinfoMinimal.txt" https://bugs.launchpad.net/bugs/1833281/+attachment/5271429/+files/ProcCpuinfoMinimal.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1833281] ProcEnviron.txt

2019-06-18 Thread Luca Mastromatteo
apport information ** Attachment added: "ProcEnviron.txt" https://bugs.launchpad.net/bugs/1833281/+attachment/5271430/+files/ProcEnviron.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1833281] Lsusb.txt

2019-06-18 Thread Luca Mastromatteo
apport information ** Attachment added: "Lsusb.txt" https://bugs.launchpad.net/bugs/1833281/+attachment/5271427/+files/Lsusb.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1833281

[Kernel-packages] [Bug 1833281] ProcInterrupts.txt

2019-06-18 Thread Luca Mastromatteo
apport information ** Attachment added: "ProcInterrupts.txt" https://bugs.launchpad.net/bugs/1833281/+attachment/5271431/+files/ProcInterrupts.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1833281] ProcModules.txt

2019-06-18 Thread Luca Mastromatteo
apport information ** Attachment added: "ProcModules.txt" https://bugs.launchpad.net/bugs/1833281/+attachment/5271432/+files/ProcModules.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1833281] Missing required logs.

2019-06-18 Thread Ubuntu Kernel Bot
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window: apport-collect 1833281 and then change the status of the bug to 'Confirmed'. If, due to the

[Kernel-packages] [Bug 1833281] [NEW] Complete system freeze even when swapping small amounts of memory

2019-06-18 Thread Luca Mastromatteo
Public bug reported: I'm reporting this since it's reproduceable the 70% of the time. Summary: In different circumstances, when the systems starts to swap out RAM memory, even small amounts, the system becomes completely unusuable and the screen freezes up, no mouse movement, no TTY access or