@@ -26,7 +26,7 @@ D3N improves the performance of big-data jobs by speeding up repeatedly accessed
2626Cache servers are located in the datacenter on the access side of potential network and storage bottlenecks.
2727D3Ns two-layer logical cache forms a traditional caching hierarchy :sup: `*`
2828where caches nearer the client have the lowest access latency and overhead,
29- while caches in higher levels in the hierarchy are slower (requiring multiple hops to access),
29+ while caches in higher levels in the hierarchy are slower (requiring multiple hops to access).
3030The layer 1 cache server nearest to the client handles object requests by breaking them into blocks,
3131returning any blocks which are cached locally, and forwarding missed requests to the block home location
3232(as determined by consistent hashing) in the next layer.
@@ -48,7 +48,7 @@ Implementation
4848Requirements
4949------------
5050
51- - An SSD (/dev/nvme, /dev/pmem, /dev/shm) or similar block storage device, formatted
51+ - An SSD (`` /dev/nvme ``, `` /dev/pmem ``, `` /dev/shm `` ) or similar block storage device, formatted
5252 (filesystems other than XFS were not tested) and mounted.
5353 It will be used as the cache backing store.
5454 (depending on device performance, multiple RGWs may share a single device but each requires
@@ -77,7 +77,7 @@ in each Rados Gateways ceph.conf client section, for example for ``[client.rgw.8
7777 rgw_d3n_l1_datacache_size = 10737418240
7878
7979The above example assumes that the cache backing-store solid state device
80- is mounted at `/mnt/nvme0 ` and has ` 10 GB ` of free space available for the cache.
80+ is mounted at `` /mnt/nvme0 `` and has 10 GB of free space available for the cache.
8181
8282The persistent path directory has to be created before starting the Gateway.
8383(``mkdir -p /mnt/nvme0/rgw_datacache/client.rgw.8000/ ``)
@@ -91,25 +91,25 @@ In containerized deployments the cache directory should be mounted as a volume::
9191(Reference: `Service Management - Mounting Files with Extra Container Arguments `_)
9292
9393If another Gateway is co-located on the same machine, configure it's persistent path to a discrete directory,
94- for example in the case of `[client.rgw.8001] ` configure
94+ for example in the case of `` [client.rgw.8001] ` ` configure
9595``rgw_d3n_l1_datacache_persistent_path = "/mnt/nvme0/rgw_datacache/client.rgw.8001/" ``
96- in the ``[client.rgw.8001] `` ceph.conf client section.
96+ in the ``[client.rgw.8001] `` `` ceph.conf `` client section.
9797
9898In a multiple co-located Gateways configuration consider assigning clients with different workloads
9999to each Gateway without a balancer in order to avoid cached data duplication.
100100
101- NOTE: each time the Rados Gateway is restarted the content of the cache directory is purged.
101+ .. note :: Each time the Rados Gateway is restarted the content of the cache directory is purged.
102102
103103Logs
104104----
105- - D3N related log lines in `radosgw.*.log ` contain the string ``d3n `` (case insensitive).
106- - low level D3N logs can be enabled by the ``debug_rgw_datacache `` subsystem (up to ``debug_rgw_datacache=30 ``)
105+ - D3N related log lines in `` radosgw.*.log ` ` contain the string ``d3n `` (case insensitive).
106+ - Low level D3N logs can be enabled by the ``debug_rgw_datacache `` subsystem (up to ``debug_rgw_datacache=30 ``).
107107
108108
109- CONFIG REFERENCE
109+ Config Reference
110110================
111111The following D3N related settings can be added to the Ceph configuration file
112- (i.e., usually `ceph.conf `) under the ``[client.rgw.{instance-name}] `` section.
112+ (i.e., usually `` ceph.conf ` `) under the ``[client.rgw.{instance-name}] `` section.
113113
114114.. confval :: rgw_d3n_l1_local_datacache_enabled
115115.. confval :: rgw_d3n_l1_datacache_persistent_path
0 commit comments