From owner-freebsd-questions@freebsd.org Mon May 14 00:57:47 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9CB61FDE524 for ; Mon, 14 May 2018 00:57:47 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: from mail-vk0-x22a.google.com (mail-vk0-x22a.google.com [IPv6:2607:f8b0:400c:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 37B967DABA for ; Mon, 14 May 2018 00:57:47 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: by mail-vk0-x22a.google.com with SMTP id e67-v6so6184398vke.7 for ; Sun, 13 May 2018 17:57:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=D4gYHWRGmbuWSwnhwBRGaVVu+7pfVcpjIf/uVxRljOc=; b=I3qlcNVQg0I4XkGjSj9YuRvhN+6Ypm7xD+E0KkbjwMhmMNzCvJ14g/F0PDhArKpwFE 5ENkl6WlJAQS2K5+Ggg3I5GreoutwGbWBVVDk4XPfqxMHHNMGPP6I4ITTk5LOXMrIF0t xVs5Pqb7pCE+ReAykpFxjoLeiueBWWwpDVm/c1W/MDb8WZasb8YhuIaCaPLW2x13TItm j6O1wpOAKBGTEJCfYkPh/p06iWJUH5NwpnJoelM0XfAXh+j9vYOmufYiAgwWcvzdEcDK 1VuCmU2+I81kS15nu+osd+818Go5csBIzZAY0ugALc0Re3kPm9Bll1IaemR4ko9wzPvH wIrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=D4gYHWRGmbuWSwnhwBRGaVVu+7pfVcpjIf/uVxRljOc=; b=H6NMCtMWSciRjLzMVCp69BbT66EHgxSdWUowlmBaIfhtl6rbmEWkPgVi+Qj+cqpJ7X uKAd/HcG/yiqKxQNwdWHoy5hlx2shLiXDRGaBY19HXN0xFPqO3YRg1nsPTOvvkboo/bJ THXkl88xSWaDiu2y7EuJ1svEaVprJNL5y2PgHlYkcnkHkFLabAoL8lvA+WvlAZgqp1eE onfJ5iCzn/pt2k4C8trrFrBJL2YGRkqWQ5ySxjFIUoPlYCjznSZtU25eMDCIF9AOARnr 6uweyHjJrAqC3JsM8fi2iuC+/6csOVP1tNuweC68I9FAUFZT186d5Wu53Icx5sGUYzp9 IJnw== X-Gm-Message-State: ALKqPwfLb673h7Ur44/M/NISDzZbTvG2ZbZFA/tc4sCJLe9MCfPz1xZY mwZlW3Smav9TRGURTsjiTtlGXuq6FafuCACmLgo= X-Google-Smtp-Source: AB8JxZpTH7mXx1EmlHH+lOo07/KEIBd8XO1xTAnsNtW01cRf/Rd8g/ehtkfH7Z8/+MIAZh4UfhwOVZXbP6t8AOvwKvA= X-Received: by 2002:a1f:de04:: with SMTP id v4-v6mr8786723vkg.87.1526259466372; Sun, 13 May 2018 17:57:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.21.133 with HTTP; Sun, 13 May 2018 17:57:45 -0700 (PDT) In-Reply-To: <20180514012244.74822866@gumby.homeunix.com> References: <09eab1d4-3dd8-3530-bdbf-b436ec6aeeed@zyxst.net> <20180514012244.74822866@gumby.homeunix.com> From: Waitman Gobble Date: Sun, 13 May 2018 20:57:45 -0400 Message-ID: Subject: Re: swapfile question To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 May 2018 00:57:47 -0000 On Sun, May 13, 2018 at 8:22 PM, RW via freebsd-questions wrote: > On Sat, 12 May 2018 08:39:52 -0700 > Waitman Gobble wrote: > > >> I use Warren Block's SSD setup and create swap file, seems to work >> A-OK. >> >> http://www.wonkity.com/~wblock/docs/ > > Swap files are certainly more flexible, but I think the argument about > TRIM is wrong. My understanding is that to UFS the swap activity on a > swap file is just reads and writes in the file. Short of deleting the > file I don't think you would get any trims. From that perspective swap > files are slightly worse because when you create the file with dd you > are telling the SSD that all of it holds data. > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" The only swap issue I have is with Firefox on FreeBSD desktop with less than 12gb RAM. ie, 8gb machine will start paging eventually. This could be an issue that was solved though, I think I remember people complaining about FF. But when FF starts paging the easiest is to reboot. Yes, it has to do with hella tabs open after a month or so. :) FreeBSD servers are running 32gb or 64gb RAM and those have not been paging. That i've noticed. -- Waitman