From owner-svn-src-head@FreeBSD.ORG Sat Aug 30 19:53:34 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AF17CEC7; Sat, 30 Aug 2014 19:53:34 +0000 (UTC) Received: from smtp1.multiplay.co.uk (smtp1.multiplay.co.uk [85.236.96.35]) by mx1.freebsd.org (Postfix) with ESMTP id 46D791213; Sat, 30 Aug 2014 19:53:33 +0000 (UTC) Received: by smtp1.multiplay.co.uk (Postfix, from userid 65534) id 1F3D320E7088B; Sat, 30 Aug 2014 19:53:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=0.9 required=8.0 tests=AWL,BAYES_00,DOS_OE_TO_MX, FSL_HELO_NON_FQDN_1,RDNS_DYNAMIC,STOX_REPLY_TYPE autolearn=no version=3.3.1 Received: from r2d2 (82-69-141-170.dsl.in-addr.zen.co.uk [82.69.141.170]) by smtp1.multiplay.co.uk (Postfix) with ESMTP id 3CC9220E70885; Sat, 30 Aug 2014 19:53:23 +0000 (UTC) Message-ID: From: "Steven Hartland" To: "Peter Wemm" References: <201408281950.s7SJo90I047213@svn.freebsd.org> <2714752.cWQfguSlQD@overcee.wemm.org> <39211177.i8nn9sHiCx@overcee.wemm.org> Subject: Re: svn commit: r270759 - in head/sys: cddl/compat/opensolaris/kern cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs vm Date: Sat, 30 Aug 2014 20:53:21 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Cc: src-committers@freebsd.org, Alan Cox , svn-src-all@freebsd.org, Dmitry Morozovsky , "Matthew D. Fuller" , svn-src-head@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Aug 2014 19:53:34 -0000 ----- Original Message ----- From: "Peter Wemm" snip... > > I'm aware of the values involved, and as I said what you're > > proposing > > was more akin to where I started, but I was informed that it had > > already > > been tested and didn't work well. > > And Karl also said that his tests are on machines that have no > v_cache, so > he's not testing the scenario. > > The code, as written, is wrong. It's as simple as that. > > The logic is wrong. > > You've introduced dead code. > > Your code changes introduce a scenario that CAUSES one of the very > problems > you're using as a justtification for the changes. > > Your own testers have admitted that they don't test the scenario that > the > problem exists with. Wooo hold on there, I'm trying to react to feedback and come to a proper solution. I've already said that my initial version was very much like what I believe your requesting its changed to, but I reacted to feedback on that. Now if that feedback was inaccurate or miss-guided I'm sorry, and I'm thankfull for your input as the domain expert. The PR was created quite some time ago, and it wasn't till I encountered a related issue in a live system the other weekend that it got some attention. Its clearly an important issue that needs resolving so lets work together to come up with a fix everyones happy with. > > > Also, what about the magic numbers here: > > > u_int zfs_arc_free_target = (1 << 19); /* default before > > > pagedaemon > > > init only */ > > > > That is just a total fall back case and should never be triggered > > unless > > as the comment states the pagedaemon isn't initialised. > > > > > That's half a million pages, or 2GB of physical ram on a 4K page > > > size > > > system > > > How is this going to work on early boot in the machines in the > > > cluster > > > with > > > less than 2GB of ram? > > > > Its there to ensure that ARC doesn't run wild ARC for the few > > milliseconds > > / seconds before pagedaemon is initalised. > > > > We can change the value no problem, what would you suggest 1<<16 aka > > 256MB? > > Please stop picking magic numbers out of thin air. You are working > with file > system and VM - critical parts of the system. This is NOT the place > to be > screwing around with things you don't understand. alc@ was trying to > be > polite. Please help me out here, I'm trying to do the right thing so I'm looking to you guys for advice. > > Thanks for all the feedback, its great to have my understanding of > > how things work in this area confirmed by those who know. > > > > Hopefully we'll be able to get to the bottom of this with everyones > > help and get a solid fix for these issues that have plaged 10 into > > 10.1 :) > > I'm very disappointed in the attention to detail and errors in the > commit. > I'm almost at the point where I want to ask for the whole thing to be > backed > out. I'm not disagreeing with anyone, I'm simply trying to accure the information on how to update this that will result in the best for users, so sweeping statements like this just make me feel bad for trying to help :( I'm more than happy to address any concerns people have. I've kicked this off with a webrev https://reviews.freebsd.org/D700 Regards Steve