Am Sat, 11 Sep 2021 01:27:24 -0700 (PDT)
schrieb Guan Xin <
guan...@gmail.com>:
> The compiler needs massive access to headers files if your source is C and
> alike.
> Try putting most headers on a local filesystem, or on a remote filesystem
> with better cache like NFS.
… or you do that trick of re-exporting the BeeGFS to the client from
the client itself via NFS. Repeated reads, which is the case with
builds and compiler invocations, get a massive boost from the page
cache that way and the BeeGFS server is not touched for the most part.
> Working within a filesystem image on BeeGFS also improves performance.
> Just create a filesystem image on BeeGFS, put your source code inside, and
> compile.
I presume that is because you're talking to a fixed set of storage
targets that this one big image is distributed on, each possibly also
benefitting from its own cache (and even prefetch?) instead of asking
the metadata server for the storage targets for each one of the little
files again and again, then contact those targets anew … with small
files directly stored with the metadata this could be a lot faster, but
for a system created for concurrent continuous streaming, it is still
the worst case of operation.
Anyhow — proper client-side caching seems to be something that probably
has to be considered to keep BeeGFS a good option also for the
entry-level HPC systems it has its biggest market share on
(just guessing). That or a separate NFS for the non-parallel
ignorant users to avoid them killing the BeeGFS performance for
everyone else.
A working cache and directory-based quota (_instead_ of user-based, no
need for both ways concurrently) are the features I miss, also
considering our replacement system on the horizon. Apart from that, I
do support the idea that the file system should not adopt every feature
under the sun. So far I didn't have people complaining that file
locking does not work, for example, just noticed myself and am using a
rename() approach instead.
Alrighty then,
Thomas
--
Dr. Thomas Orgis
HPC @ Universität Hamburg