Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5105986pxb; Wed, 26 Jan 2022 05:04:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJyLNTJlJY9odPxCVEnoprKcNltjOXFDbSiQ3jZl2IX5neppDkXO4dJZADNroVcVrhL+dIrb X-Received: by 2002:a50:fc17:: with SMTP id i23mr15810170edr.348.1643202267127; Wed, 26 Jan 2022 05:04:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643202267; cv=none; d=google.com; s=arc-20160816; b=QI8qBOBj9rbYzobmxfsnqXZvSfJAdiEoXHp1tbbpOAlLWg8CQDAUixRwx9bUuJlKUL aQ0wJMxRU58nBRtFxTlhBxEthVcVHrZ3Vx5D8KesQoCMTrlSPVqTLtEa6jTGlW5Dg7Tt jpe5oyvtUXc5hwpbc9DlGki+EXrGitOZzbPWk3uSEKTziWDho+rjAtS0Nkx1GMFHE/ly DZzHUZ4dFjPisYpVlq6axR7h9tk0v5RmttTFcgOGi0EeZUA3u60rEKNGnbhWxeRkYxpV LqGpVMvoMUYYK4QP8AGp0EQ16/KeH4EjHiulH4rRSdK77DpvTM+gEtUBuE1/KAPrM84c DFGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=jmZvxjTm3Zm/yuEFMFhabb14g7w2JRRBo3QS+6a3Il4=; b=EG5HJ8Yf/lVM+ulJP/thLfcgHiGAJInClrk5Caw4SXaqlIlGfr5H/FjycJxhsjafrH uwZMqFbGiA05kaR+Vgh9EllqKnHqHm3cXi4R/ABAUYo8ohTV/O6sllXfc+YsHTy+8e2r 44X1GUJE3ghRK6eEaiXY+XUszKBdxQ+EPzS2fqKVMzJC83CWe7exRo2uLOddUJgVjoy8 iExXYHUoAbtkxNfb6H0JaWvKwmjXWvce80kbmsYMISFsW7lN43eQpD86/J8Cw0I8iIHc 2jg5eN2ys99gObxaNqoih2uH4qCYoPPB2VM7upXxNA8EHWwEDyQBam6x+OyVPPYKPG89 hSNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dneg.com header.s=google header.b=S6YBkt5X; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=dneg.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h1si11618835edl.102.2022.01.26.05.03.52; Wed, 26 Jan 2022 05:04:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@dneg.com header.s=google header.b=S6YBkt5X; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=dneg.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234706AbiAYX0O (ORCPT + 99 others); Tue, 25 Jan 2022 18:26:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234780AbiAYX0K (ORCPT ); Tue, 25 Jan 2022 18:26:10 -0500 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81A74C06173B for ; Tue, 25 Jan 2022 15:26:10 -0800 (PST) Received: by mail-ej1-x629.google.com with SMTP id s5so34258794ejx.2 for ; Tue, 25 Jan 2022 15:26:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dneg.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jmZvxjTm3Zm/yuEFMFhabb14g7w2JRRBo3QS+6a3Il4=; b=S6YBkt5XbYrW+u+CmAI27ZzRjDscQa7ektMYs8AbJrXSq2OvBUHdviC1VkEbm2sWqc RkYPH5Xyg1qr97nPnjgrCErM73lLR2l3crdLAjXbbXluIy9Yzca+3ngLq97/cy6/pLVs 1l3breXdF59rq3XUUG9OE79gzAJGW4YVjVuGPYXjpGPt2i5XmLeSNYh6gUlFTAkkpgdr 9r7SbrFsMXS35BeA6EeyJfB6cc01Ti7opTdCkdrmfdOGaiuZgnG++VEjlxHdGoVdQHOM 2IT5zDFdaKUwxeSHZ4cZwP2Um5c/OMMn+X24qIxpWwlbBjVmWHBEXHg0ZLKJuBxLkKG8 jjiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jmZvxjTm3Zm/yuEFMFhabb14g7w2JRRBo3QS+6a3Il4=; b=XTEGr6W08/cqHWBv/iPDuyuAPBBnZyNo+3ghofWPva4LuofRSw23iTMoaKE8KL+Jsv KPqImeyaebhzfVT7qvTwe/DpTcq14bCeU9GWLRCsn1cjomhfGcl0eep4t03hwPlavKOb BdVqBDzr/i1sjLjfpcARs1OufwEeQ0MSBaCF8DJYuPnWpj/dEujfFyfzH62gPpK4uCWt RGPiUHjeJLG3Hin8Jb1Vcm0H6hKv0mqNRh5sEHHDYugVqtYzpUcDTfi2Zk+GpGLiIxhw WH08KwwzUkdsCU906/+skoav+Z1FNr2u2nc02XYOJAlPOqOPYKUap8c+R7KTB6APUD0M k1Zw== X-Gm-Message-State: AOAM532EpQ43YJVxZVk0ZZDKYO8QpcynEtUfPtxRaG8df8/2dPC2rdOd 0bQiiag3XsOWHvS+pCUaijThpXmDmYJfETMUPhMG1g== X-Received: by 2002:a17:906:3819:: with SMTP id v25mr17574281ejc.539.1643153169137; Tue, 25 Jan 2022 15:26:09 -0800 (PST) MIME-Version: 1.0 References: <20220124193759.GA4975@fieldses.org> <20220124205045.GB4975@fieldses.org> <20220125135959.GA15537@fieldses.org> <42867c2c-1ab3-9bb6-0e5a-57d13d667bc6@math.utexas.edu> <20220125215942.GC17638@fieldses.org> <7256e781-5ab8-2b39-cb69-58a73ae48786@math.utexas.edu> In-Reply-To: From: Daire Byrne Date: Tue, 25 Jan 2022 23:25:33 +0000 Message-ID: Subject: Re: parallel file create rates (+high latency) To: Patrick Goetz Cc: Bruce Fields , Chuck Lever III , Linux NFS Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Tue, 25 Jan 2022 at 23:01, Patrick Goetz wrote: > On 1/25/22 16:41, Daire Byrne wrote: > > On Tue, 25 Jan 2022 at 22:11, Patrick Goetz wrote: > Thanks for this suggestion! This option didn't even occur to me. The > only downside is that this server gets really busy during image > processing, so I'm a bit worried about loading it down with dozens of > simultaneous rsync processes. Also, the biggest performance problem in > this system (which includes multiple GPU-laden workstations and 2 other > NFS servers) is always I/O bottlenecks. I suppose the solution is to > nice all the rsync processes to 19. Yea, that's always the problem with backups - when do you slow down production because backups are more important? :) You could also have another NFS client close (latency) to the server which would free CPU but it's hard to limit IO. You can still use rsync+rsyncd for the higher latency hop. > Question: given that I usually run backups from cron, and given that > they can take a long time, how does msrsync avoid stepping on itself? I guess you would need a lockfile or pgrep for a running instance. TBH, I wrote a simpler version of msrsync in bash that was more suited to our environment but the principle is the same. Daire