Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-9252

osd: Cannot really disable cache on OSS

Details

    • Improvement
    • Resolution: Duplicate
    • Minor
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      When deactivating caching on an OSS through the osd proc files: read_cache_enable and writethrough_cache_enable, it only simulates Lustre's behaviour without cache.

      It would be interesting though, for Lustre's OSSes to be able to allocate their memory outside of the pagecache for it seems to be a performance issues when using SSD disks: it creates a CPU overload and 65% of CPU ressources are spent to allocate/free memory from the pagecache.

      Attachments

        Issue Links

          Activity

            [LU-9252] osd: Cannot really disable cache on OSS

            This was fixed via LU-11347 to preallocate IO buffers in this case.

            adilger Andreas Dilger added a comment - This was fixed via LU-11347 to preallocate IO buffers in this case.

            To clarify your concern, the issue is that even with read/write cache disabled the OSS is still adding the pages to the mapping for the inode and then dropping it after the read/write is complete.

            It should be possible to change this caching behaviour for osd-ldiskfs to preallocate IO buffers per thread, in a manner similar to what Lustre 1.8 did, but I don't think it would be possible to do this for osd-zfs.

            adilger Andreas Dilger added a comment - To clarify your concern, the issue is that even with read/write cache disabled the OSS is still adding the pages to the mapping for the inode and then dropping it after the read/write is complete. It should be possible to change this caching behaviour for osd-ldiskfs to preallocate IO buffers per thread, in a manner similar to what Lustre 1.8 did, but I don't think it would be possible to do this for osd-zfs.

            People

              pjones Peter Jones
              cealustre CEA
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: