Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3994524ybg; Fri, 25 Oct 2019 11:49:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqymw/nhIPTtTWcHZR9NDuBsG+E4xmQDhJs+D5k/VRQacI+85Nt5Y3B8L+z3a71N135MVqPR X-Received: by 2002:a17:906:86d5:: with SMTP id j21mr4920644ejy.219.1572029390350; Fri, 25 Oct 2019 11:49:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572029390; cv=none; d=google.com; s=arc-20160816; b=C7z++V4yOE5OR8sv4QH+8b/M01Kza2qYRrDgnKC0Wcpb4T6GQ2pNf29qtc7ByrM0MH T5ifV5DH3868GG3k1RakBEtN/jhHdCNjQ9DFzl1ZYqTCkccOjDI49dlZH99+hcbTqWap ZuP9xly02ev5WowBq3XsvR3yifN4ul39UzLHW2v0K4MHyXMCdBa4pGVSnoNwfuxhEw0y VSDPC4DAEGdnhw7JrlPk5x/Ok9oabQfabV5kM6IgX9ajMke6xb3ELHoTBQeTdlRUXm+J 3m7+CI7rDtyJFv7vVVfVwJ4k3JNMyy0ZGkR7ReMd2v+qGUN8mP3Y6xo7c2JFB1hKFsN9 1XCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:to:cc:in-reply-to:date:subject :mime-version:message-id:from:dkim-signature; bh=tF/2SELAonCjUta1zWhD10pXJwE2qHwIT91x2FMVMcU=; b=JazZ8lf3lu72r98zEKtGGUDvUiBMxPlF7q9AOG7cPKKGuarVhOyRfUgJMI1GY/1FQW 9YJjeZjKHTKSW3UobbnnVQ2e65Uje+Gluz6hyD2yxE5HGdxw53zSf0duZzXdFMmbaE13 1dsYuFu8xfPsxWE+uK37FhxthwmQ0N1rJQGjnPOp6ZvT9tvEy1/DjuWa8LxT5P9SELLv Lj82uevbEcHs8iR28sZhxGY5PBbxdzKNHRQRzvlI+WFhy2htUbMCF2tQ/i5cYWT2cXAe TqmdkA4qke+kBCmfsG0xdjYibdvYSaRPKsOG+boubw09+AKipE8j3M7nkZ3Obi3ZWJYi OBQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dilger-ca.20150623.gappssmtp.com header.s=20150623 header.b=ItcTVGWc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w1si1698150eda.433.2019.10.25.11.49.26; Fri, 25 Oct 2019 11:49:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@dilger-ca.20150623.gappssmtp.com header.s=20150623 header.b=ItcTVGWc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2394064AbfJXRvz (ORCPT + 99 others); Thu, 24 Oct 2019 13:51:55 -0400 Received: from mail-pl1-f182.google.com ([209.85.214.182]:44343 "EHLO mail-pl1-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2394057AbfJXRvy (ORCPT ); Thu, 24 Oct 2019 13:51:54 -0400 Received: by mail-pl1-f182.google.com with SMTP id q15so12214561pll.11 for ; Thu, 24 Oct 2019 10:51:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dilger-ca.20150623.gappssmtp.com; s=20150623; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=tF/2SELAonCjUta1zWhD10pXJwE2qHwIT91x2FMVMcU=; b=ItcTVGWcgUBL7MH8dVFfdUkhXO0Z0i5PPWM/g8sKszgo8cLrwFQNCQ3A4dnQsb2TE1 LUOdjP21CWEkS247RR26lBtQyX1H18zZRj/ImqY0cYa7GkMxGB3Ant1YrT6e6dZ33W2V 88YByfanT0NuQLkjmn7eIX+8E521sNaBCBhz96gORCFhs0DDDdVQDzLASxSoYc5Qk5Jg Un6MjocSvGg9L8ILwpIHVmaBdeZpVfSA/46ukWobRZ9OjHLnwA5b2C9FLKXhwir/Fn3m OY5TaaxCypa9cJeip8fSeYtKgX7UZAy0EL0MQCs+73WNolOjA1aEZHcSYiPB8Vrv3VuH EbCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=tF/2SELAonCjUta1zWhD10pXJwE2qHwIT91x2FMVMcU=; b=t8No3oWRffRdn/UEI65d05NfyGPrwvB7IguAzmxgg//yde4EKxaAWLEVy4UebOvSFL XgPfsuGIvlexjNOJuG/iaf76mj+XHVZlEbsXH6t0Uin+o7o+5SD/kpUSicsfXOx2y1TP yN1frSaNZv/yWI6G8S52/64ju3uc8cKfdZUiCYmhn93BEgrXTvo1cjaIUW8ZN8hnnb3V zP4KmxXTjjJCv2G1B0cHzR9fRj2eha8XkyZbWFGFNsj944xn+mrCrMC+4tKi77PghZ11 bTYBbtf+PiCvXuYnDU4JiLCJhnCxIejiHVOaH8iqC0Emw7TQe7agaKg+NJJ38Ay6bhhO Oziw== X-Gm-Message-State: APjAAAWktmUQ6MO5ni2+9izyVsDdj5FWOgVQ8dW7av8c1enIzVMMUlfy Mwf8UsocDfn0S0tKq8XDUGmWXWLpHAQ= X-Received: by 2002:a17:902:8606:: with SMTP id f6mr851241plo.226.1571939514002; Thu, 24 Oct 2019 10:51:54 -0700 (PDT) Received: from cabot.adilger.ext (S0106a84e3fe4b223.cg.shawcable.net. [70.77.216.213]) by smtp.gmail.com with ESMTPSA id z7sm10546493pfr.165.2019.10.24.10.51.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Oct 2019 10:51:52 -0700 (PDT) From: Andreas Dilger Message-Id: <2794A217-0A93-44C1-B0A2-A67504A711F0@dilger.ca> Content-Type: multipart/signed; boundary="Apple-Mail=_6B12323D-80C7-4522-AF86-AF0E0F6C2E2D"; protocol="application/pgp-signature"; micalg=pgp-sha256 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: File system for scratch space (in HPC cluster) Date: Thu, 24 Oct 2019 11:51:51 -0600 In-Reply-To: Cc: Linux FS-devel Mailing List , Linux Kernel Mailing List , Donald Buczek To: Paul Menzel References: X-Mailer: Apple Mail (2.3273) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Apple-Mail=_6B12323D-80C7-4522-AF86-AF0E0F6C2E2D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On Oct 24, 2019, at 4:43 AM, Paul Menzel wrote: >=20 > Dear Linux folks, >=20 >=20 > In our cluster, we offer scratch space for temporary files. As > these files are temporary, we do not need any safety > requirements =E2=80=93 especially not those when the system crashes or > shuts down. So no `sync` is for example needed. >=20 > Are there file systems catering to this need? I couldn=E2=80=99t find > any? Maybe I missed some options for existing file systems. How big do you need the scratch filesystem to be? Is it local to the node or does it need to be shared between nodes? If it needs to be large and shared between nodes then Lustre is typically used for this. If it is local and relatively small you could consider using tmpfs backed by swab on an NVMe flash device (M.2 or U.2, Optane if you can afford it) inside the node. That way you get RAM-like performance for many files, with a larger capacity than RAM when needed (tmpfs can use swap). You might consider to mount a new tmpfs filesystem per job (no formatting is needed for tmpfs), and then unmount it when the job is done, so that the old files are automatically cleaned up. Cheers, Andreas --Apple-Mail=_6B12323D-80C7-4522-AF86-AF0E0F6C2E2D Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQIzBAEBCAAdFiEEDb73u6ZejP5ZMprvcqXauRfMH+AFAl2x5LcACgkQcqXauRfM H+AO/BAAhhassljSPZNXP7jy6M2GM78gdwO+QEkZxI8+iC2Qh8ObAQt26DhtP7QA A0RimYBaT4yeKy5Fg5n+WVVgpUzos1s9Jb9hHSQyb49RIgSnDppfojTcfXrr5xeL yVzFqXsvAxDiDF15jTYyq9k8FG0BUuUgmV0BmtXUsCoRd+dQQqMW2r8QPxfKvKrI ue588jhz+inlYVzQM3V5GZdV+h/Dk+ztqYsCp6f/OIRuQ41gxs3+XmZm9+Vj/yaO 3X9uOVM9uLqe8H31DDGdiRI0InDc08AlXYOhu2N9ioJrk54LYFSX4Tfo/Z1hvuPC CmrakEBt1y4NRiB9vOUJBhBbxx8jGXf+uqy5RYIkWuwxF5r/jeqUDl7rAR65I5MX SWz8AS37fubkc712L7JZoFQn/CN0U/1xoWTGH/8J5D9QeoeFl2TvK/ArLae6pC2u 2CsmpIhVcHeSAawb4wLFYa/u6S/APiyqMY1towyWfLpDZO0ohMT5IjNE7YwIugP5 IrtNUJEAMri58Anvrceaf8Fy2ZHeuQLRJ8uSSbkccEkSMGq6GIRXS3JkkbUJ6lsO 9bwsJRiBmKT1yu5x1iemJlu3zJ9P0z1J+J8XMmc5mISkw1ZmR5sUY+LB3O/2zfa6 9XVbxMVcqXAbOiTr3J/jycaBHFUtRjx9sAYeajJEoEp83osYyf4= =LytI -----END PGP SIGNATURE----- --Apple-Mail=_6B12323D-80C7-4522-AF86-AF0E0F6C2E2D--