Skip to contentSkip to conversation

Performance of seekdir(SEEK_HOLE/DATA) and FIEMAP

LSF/MM TOPIC Trond Myklebust 2 participants 2 messages Mar 16, 2017 VFS

lore
Share & tools
lore
#0 lore raw

Hi all,

If there are any free slots on the filesystem track, then it would be nice to have a conversation about use of FIEMAP and SEEK_HOLE/DATA performance.

The issue is this: as large sparse files become more prevalent, there is a potential performance advantage to be made if applications can quickly and easily detect areas of no data.
Full disclosure: my interest here is seeing Anna's work on implementing the NFSv4.2 sparse file support come to fruition; right now she is finding that the performance of the filesystem tools (both seekdir() and FIEMAP) are insufficient to allow us to implement the READPLUS (htt ps://tools.ietf.org/html/rfc7862#section-6.2.1) operation and realise the promised performance goals.

If there is time left on the schedule, then it might be nice to have a full discussion of this topic with all the filesystem folks present, but if not, we could do it as a lightning talk.

Thanks
Trond

Signature · 3 lines
Trond Myklebust
Linux NFS client maintainer, PrimaryData
[email protected]
#1 lore raw
Quoted 16 lines · Trond Myklebust

Hi all,

If there are any free slots on the filesystem track, then it would be nice to have a conversation about use of FIEMAP and SEEK_HOLE/DATA performance.

The issue is this: as large sparse files become more prevalent, there is a potential performance advantage to be made if applications can quickly and easily detect areas of no data.
Full disclosure: my interest here is seeing Anna's work on implementing the NFSv4.2 sparse file support come to fruition; right now she is finding that the performance of the filesystem tools (both seekdir() and FIEMAP) are insufficient to allow us to implement the READPLUS (htt ps://tools.ietf.org/html/rfc7862#section-6.2.1) operation and realise the promised performance goals.

Quoted 7 lines

If there is time left on the schedule, then it might be nice to have a full discussion of this topic with all the filesystem folks present, but if not, we could do it as a lightning talk.

Thanks
Trond

It turns out that we still had one open slot later in the afternoon on Tuesday so I added this there.

Cheers,

Signature · 1 line
Jeff Layton <[email protected]>