<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - journalctl -b -0 -D <nfs mount>/.../journal: very slow startup on slow NFS mount"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=72601">72601</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>journalctl -b -0 -D <nfs mount>/.../journal: very slow startup on slow NFS mount
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>a.c.kalker@gmail.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>systemd
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Investigating why a diskless client (booted over NFS) crashed, I noticed that:

$ mount -o nolock,ro <nfs-server>:/nfs/<clientroot> mnt
$ journalctl -b -0 -D mnt/var/log/journal

took almost 6 seconds before showing the log.
The NFS 'server' is a consumer grade router with a hard disk attached to its
USB port, resulting in reasonably slow transfer speeds, but which are otherwise
acceptable for its intended purpose.

>From experience with a few other systems, startup time for journalctl increases
as the number of boots recorded and the journal size increases. I believe this
may be due to the high number of disk accesses required to find the beginning
of entries pertaining to the last boot in the journal.

This bug report is a request for improving the access speed of specific boot
journal entries.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>