Return-Path: Received: from acheron.ifi.lmu.de ([129.187.214.135]:41157 "EHLO acheron.ifi.lmu.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934333AbbGVOxO (ORCPT ); Wed, 22 Jul 2015 10:53:14 -0400 Message-ID: <55AFAE57.7050409@bio.ifi.lmu.de> Date: Wed, 22 Jul 2015 16:53:11 +0200 From: Frank Steiner MIME-Version: 1.0 To: "J. Bruce Fields" CC: linux-nfs@vger.kernel.org Subject: Re: Parallel file locking quite slow with vers=4.0 compared to vers=3 References: <55ACFF59.7040707@bio.ifi.lmu.de> <20150720212305.GB11050@fieldses.org> <55ADEA5C.8020607@bio.ifi.lmu.de> <20150721155144.GC11050@fieldses.org> <55AFAD60.7040607@bio.ifi.lmu.de> In-Reply-To: <55AFAD60.7040607@bio.ifi.lmu.de> Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-nfs-owner@vger.kernel.org List-ID: Frank Steiner wrote > Thanks! I tried your patch and it goes way faster. The last 2 or 3 > of 20 xterms that I start in parallel still take about 1-3 seconds, > but the rest is poping up immediately. NFS3 is still better as it The difference is still quite large when killing the xterms again. "killall xterm" on NFSv3 takes half a second, on NFSv4 the last about 5 xterms are delayed and vanish one after another, the last one about 5-6 seconds after the killall was started. cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *