From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756484Ab3ILSE3 (ORCPT ); Thu, 12 Sep 2013 14:04:29 -0400 Received: from hibox-130.abo.fi ([130.232.216.130]:59437 "EHLO centre.hibox.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755664Ab3ILR7X (ORCPT ); Thu, 12 Sep 2013 13:59:23 -0400 Message-ID: <523200EB.7000202@hibox.fi> Date: Thu, 12 Sep 2013 20:59:07 +0300 From: Marcus Sundman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 MIME-Version: 1.0 To: Jan Kara CC: "Theodore Ts'o" , Dave Chinner , linux-kernel@vger.kernel.org Subject: Re: Debugging system freezes on filesystem writes References: <5127FEEA.60207@hibox.fi> <20130224001222.GB5551@dastard> <20130224012052.GC1196@thunk.org> <512D01E0.7010009@hibox.fi> <20130226231703.GA22674@quack.suse.cz> <5231BA3C.2090704@hibox.fi> <20130912131051.GA14664@quack.suse.cz> <5231C5FF.3060504@hibox.fi> <20130912143941.GB14664@quack.suse.cz> <5231D8DD.5010703@hibox.fi> <20130912163530.GD14664@quack.suse.cz> In-Reply-To: <20130912163530.GD14664@quack.suse.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam_score: -2.7 X-Spam_bar: -- Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12.09.2013 19:35, Jan Kara wrote: > On Thu 12-09-13 18:08:13, Marcus Sundman wrote: >> And can I somehow "reset" whatever it is that is making it worse so >> that it becomes good again? That way I could spend maybe 1 hour once >> every few months to get it back to top speed. >> Any other ideas how I could make this (very expensive and fairly new >> ZenBook) laptop usable? > Well, I believe if you used like 70% or less of the disk and regularly > (like once in a few days) run fstrim command, I belive the disk performance > should stay at a usable level. At 128 GB it is extremely small as it is, and I'm really struggling to fit all on it. Most of my stuff is on my NAS (which has almost 10 TB space), but still I need several code repositories and the development environment and a virtual machine etc on this tiny 128 GB thing. So, if I used some other filesystem, might that allow me to use a larger portion of the SSD without this degradation? Or with a much slower rate of degradation? And at some point it will become unusable again, so what can I do then? If I move everything to my NAS (and maybe even re-create the filesystem?) and move everything back, might that get rid of the FTL fragmentation? Or could I somehow defragment the FTL without moving away everything? Regards, Marcus