Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Oct 2021 16:21:35 +0000
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        Felix Palmen <felix@palmen-it.de>, "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Re: Writing large build logs to NFS extremely slow?
Message-ID:  <YQXPR0101MB096840849470A4AA61C72188DDB39@YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM>
In-Reply-To: <YQXPR0101MB0968CA670A7AD47437D64E5FDDB39@YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM>
References:  <20211007021643.bwglyvrswk2nm3fl@nexus.home.palmen-it.de> <CAOgwaMsLTWaMddx1HPY0eiY4t-12x-bEiZmhUpFsuEqkNhM27w@mail.gmail.com> <20211009141852.3cmjh7tysnehum7b@nexus.home.palmen-it.de> <YQXPR0101MB096832C878E88DF877B39DB8DDB39@YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM> <20211009155033.fckg4i7zqo4yt2te@nexus.home.palmen-it.de> <YQXPR0101MB0968CA670A7AD47437D64E5FDDB39@YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM>

next in thread | previous in thread | raw e-mail | index | archive | help


Felix Palmen wrote:
[stuff snipped]
>Ok, thanks for the insight here! So maybe, I could have a look at
>poudriere's code? If I understand you correctly, keeping the file open
>and just issuing more write() calls wouldn't trigger that problem?
Nope, I don't think keeping the file open would help much.
However, if the file is opened with O_DIRECT, you could try setting
# sysctl vfs.nfs.nfs_directio_enable=1
in the NFS client machine.

rick

> You could try the "nocto" mount option, which might help, if the log file
> is being re-opened many times, but I doubt it will help.

Well, I take any suggestion, so will try that as well and report back,
thanks again!

Side note, please don't CC/To me, I'm subscribed the list ;)

--
 Dipl.-Inform. Felix Palmen  <felix@palmen-it.de>   ,.//..........
 {web}  http://palmen-it.de  {jabber} [see email]   ,//palmen-it.de
 {pgp public key}     http://palmen-it.de/pub.txt   //   """""""""""
 {pgp fingerprint} A891 3D55 5F2E 3A74 3965 B997 3EF2 8B0A BC02 DA2A




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YQXPR0101MB096840849470A4AA61C72188DDB39>