Score:0

Delay in NFS Client file Updation in NFS Server

cn flag

We have an NFS server and our custom board which is our NFS Client. We are generating a log file as part of our custom application. This log file is getting generated in the root file system of the board(NFS client) immediately after the application execution. But however its taking about 30 seconds to get updated on the NFS server which is a high delay in our use case. In the NFS server I ran the command tail -f log.txt and only after 30 seconds the log is updated in the log file. Is there a way we can eliminate this delay. I performed an analysis on the NFS port using the tcpdump and observed that the packets are arriving at the NFS Server side after this 30 s delay.

de flag
Sounds like a write-back behavior on the client side. Which os your client runs?
Aparna avatar
cn flag
Client runs on UBUNTU 18.04.2.
de flag
try to lower the `vm.dirty_writeback_centisecs` with sysctl https://www.kernel.org/doc/html/latest/admin-guide/sysctl/vm.html#dirty-writeback-centisecs
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.