From owner-freebsd-arch@freebsd.org Sat Nov 5 17:41:55 2016 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E94EFBEDE6E for ; Sat, 5 Nov 2016 17:41:55 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-pf0-x232.google.com (mail-pf0-x232.google.com [IPv6:2607:f8b0:400e:c00::232]) (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 C0539617 for ; Sat, 5 Nov 2016 17:41:55 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-pf0-x232.google.com with SMTP id n85so69225002pfi.1 for ; Sat, 05 Nov 2016 10:41:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=TDBtZ9Wn0HgT7UitVrVV/Vb67Ee0pQG7eYBjN4oKPn8=; b=mSsKaKo7G6gxkHgRu2J9f6JJvAD+9n1a6OEbXydv9j3IUAt5HOPyvBFwKSWsqV2Il9 yUObWMRZDoVSJNwgo38JRU5PM7YlMTULCa2XPtgpfxbR1SWUxFM9F7UDSrfrl0UbUgEs 2nZX58gvXwS0V4l+vyKI2ofnk2+Sy0e2+9OBcxGcU8CNuKBljID4Arkl+ndEU9D13LtU N6JrbBZOiIx88KLHr4ncxIWEdxidkXLoFAW11BHBlMJq82pa0GswepQEehnTd1IYHuw3 CCN6IBlPyjje66Pxley/DD94p3YKa7Xw2ID+aq7Qn0WoOpiyc+4EVrAT4mS/TNczLjMN 8fYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=TDBtZ9Wn0HgT7UitVrVV/Vb67Ee0pQG7eYBjN4oKPn8=; b=mRHxbGky2uDqZPHCnmZklUnOV353aS7OvVsYKL7QThGnDudYLgwiBGTtIMangwLzEe 3oyxjtCmg5AUEE/Qd3b9+YhJcNGFjJH+r7XiRHaW7p0dd8WNlhsK9NxHu3BdZpFVn2vD dGuaCmsazfpIa32FCl3XNhQgKjyL4t5oStzAVIlT6ke+aS4iEpIwVUoH+YxUJxvOJ+hs gDgH/bvRVTQ9fhFZz4/76JrnesARxCNtxT0BTg+YMpRpMFvDeUYxApZC5TX9kwLyI2R+ Qwaeur5nSGFkJUkZNNDKsukdmZRC2BEtriJ51WVjbsZeL59RYCq2su/dFVj/WQu61xqi ay2Q== X-Gm-Message-State: ABUngveOGML51rbeRGVNk7Fv6Dtz3rx3uHBMF7JZWylBi3Pn6ftPSwzH8ZdvZK/WUEbisg== X-Received: by 10.99.135.200 with SMTP id i191mr31662603pge.18.1478367714859; Sat, 05 Nov 2016 10:41:54 -0700 (PDT) Received: from raichu ([2604:4080:1102:0:ca60:ff:fe9d:3963]) by smtp.gmail.com with ESMTPSA id d15sm10680969pfl.46.2016.11.05.10.41.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 Nov 2016 10:41:54 -0700 (PDT) Sender: Mark Johnston Date: Sat, 5 Nov 2016 10:41:48 -0700 From: Mark Johnston To: Gary Jennejohn Cc: freebsd-arch@freebsd.org Subject: Re: PQ_LAUNDRY Message-ID: <20161105174148.GA75901@raichu> References: <20161103182916.GA31178@wkstn-mjohnston.west.isilon.com> <20161105103128.78197d36@ernst.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161105103128.78197d36@ernst.home> User-Agent: Mutt/1.7.0 (2016-08-17) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Nov 2016 17:41:56 -0000 On Sat, Nov 05, 2016 at 10:31:28AM +0100, Gary Jennejohn wrote: > On Thu, 3 Nov 2016 11:29:16 -0700 > Mark Johnston wrote: > > Some more details and the diff for PQ_LAUNDRY can be viewed here: > > https://reviews.freebsd.org/D8302 > > > > We would like to commit it next week. Any additional comments, review, > > or testing would be welcome. > > > > In my use case, which is moving multi-gigabyte video files from > one file system to another, this seems to swap more than the > previous code did. Moving such large files with the previous > code seemed to recycle Inact more quickly and IIRC only a few 10s > of MB were swapped out. In my test this morning 125MB were > swapped out and Inact was not recycled as quickly. The overall > size of the files moved was about the same in the two tests. Are you computing the amount swapped out as the amount of memory swapped out minus the amount of swapins? Or is 125MB the amount of swap used after the test? Output from "sysctl vm.stats" taken before and after any test on both HEAD on PQ_LAUNDRY would be most useful. > > This code doesn't even come close to the behavior we had about 2 > years ago. I could move 100s of GB and never see a single bye > get swapped because Inact was very quickly recycled in multi-GB > chunks, frequently the approx. 6GB of Inact would be recycled in > a (to the human eye) single transfer to Free. > > In any case, the new code doesn't break anything. > > -- > Gary Jennejohn > _______________________________________________ > freebsd-arch@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"