Return-Path: Received: from ste-pvt-msa2.bahnhof.se (ste-pvt-msa2.bahnhof.se [213.80.101.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Tue, 15 Dec 2020 12:59:24 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by ste-pvt-msa2.bahnhof.se (Postfix) with ESMTP id 9722A3F5CE for ; Tue, 15 Dec 2020 12:59:00 +0100 (CET) Received: from ste-pvt-msa2.bahnhof.se ([127.0.0.1]) by localhost (ste-ftg-msa2.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T7_KgKJ2TF4X for ; Tue, 15 Dec 2020 12:58:59 +0100 (CET) Received: by ste-pvt-msa2.bahnhof.se (Postfix) with ESMTPA id A8B603F59B for ; Tue, 15 Dec 2020 12:58:59 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by localhost (Postfix) with ESMTPS id 8320F2E0002 for ; Tue, 15 Dec 2020 12:59:21 +0100 (CET) Date: Tue, 15 Dec 2020 11:59:20 +0000 From: Michael =?utf-8?B?S2rDtnJsaW5n?= Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Subject: Re: [dm-crypt] LUKS2 SSD swap and system freeze List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On 15 Dec 2020 11:42 +0100, from germano.massullo@gmail.com (Germano Massullo): > To check if the complete stuck of the system was caused by encryption, I > tried to disable SSD swap, and create a unencrypted swap on a regular > HDD, and then when I had write bursts, the system slowed, but it did not > freeze. Note that by doing so, you actually changed at least two things at once: absence/presence of encryption, and SSD/HDD. There is also a possibility that you changed the properties of the storage interconnect. You've shown that by changing all at once, you can eliminate or introduce the problem, but you haven't unequivocally shown which specific change made the difference. To eliminate those factors and further narrow down the problem, can you change just _one_ of those at a time? For example, do you still see the same issue with similarly encrypted swap on the HDD, or with unencrypted swap on the SSD? The answer would help at least somewhat to lay the blame on either the storage device or the cryptography. Also, have you checked the SMART data for the SSD? Another thing that could be worth testing is to access that system over the network. Assuming your firewall settings allow ICMP, does it respond to pings while appearing frozen, for example? -- Michael Kjörling • https://michael.kjorling.se • michael@kjorling.se “Remember when, on the Internet, nobody cared that you were a dog?”