I'm planning to enable L3 Cache on several upgraded clusters. And have some questions regarding that process.
Current Situation:
- Freshly upgraded Clusters on 7.1.1.x
- MultiScan Jobs etc. are finished
- The Clusters are productive for our customer
- We use our SSDs for Metadata-Read acceleration.
- The current workload is mostly random access and files with <128K are also quite often in use --> we should profit from L3 Cache
- Smartpool license is NOT in use
- on the clusters is only one nodepool used
- the SSDs have space left
Planned process:
isi storagepool nodepool modify -l3 true
wait for jobs to complete
profit.
Since the L3 activation process requires the metadata copies to be evacuated from the SSD with SetProtectPlus and FlexProtect before reformatting the drives as L3 cache, we won't profit from metadataread nor L3 cache until reformatting finished. I want to minimize the performance impact for our customer and thus have the following questions
L3 Cache is populated by evicted blocks from L2 cache. My plan is to have the L3 Cache populated with metadata at the time the customer accesses the data (after the weekend), so he has no performance impact by not having metadataread enabled.
Can i force a population of L3 cache with metadata by just stupidly doing treewalks (via SMB/NFS)?
In my mind the metadata will reside either in L1/L2 or L3 Cache after a complete treewalk (and nothing else!) finished. As soon as data is queried, the meta and data will be evicted from L1/L2 and populated to L3 . if it gets old, it will also be evicted from L3. Since metadata operations (in my environment) are more frequently used than data reads i hope to have a lot of often used metadata and additional data in L3 Cache.
Does FSAnalyze or Snapshot(Deletes) populate metadata to Caches?
If i delete a Directorytree with files do i populate this data into the caches or are caches cleared from deleted files? (i guess the first...)
Is a timecalculation based on experiences from another (comparable) cluster valid?
i.e.
Cluster 1 has 3Nodes and 1Million LINs. it needs 15 Minutes to evacuate Metadata and reformat the SSDs.
Cluster 2 has 3Nodes and 10Million LINs (based on last FSAnalyze). I calculate 2:30 hours for metadata evacuation and reformating of the SSDs
i tried this with my test-system. it's a physical Cluster which is only in use by ~10 Persons.
I ran a treewalk and waited a few hours. Then i started a second treewalk (2times in parallel). A day after i started a third set of treewalks... the results are quite... shocking...
BUT: i have a prefetch miss Ratio of 0.0% in L1 and 0.6% in L2. are the treewalks maybe sequential, thus L1/L2 prefetching data from L3 and these prefetchs do not count into L3 stats?
@Carlilek:
I don't have such a big maintanance window... but 95% of users are gone over the Weekend, which leaves the Clusters pretty idle for some "extrawork"
My L3 experiments (on my primary prod cluster....) were a total failure when it came to metadata. My cache emptied so fast that the metadata just didn't hang around. YMMV and certainly I had/have other issues going on, even after reverting back to metadata r/w.
Carlilek: quite interesting. If i understood the Technologie korrekt, the Data / Metadata will fill up the SSDs until they are full. then the oldest blocks will be discarded.
Well let it put me this way:
On this Testcluster I have more SSD-Space than Data and Metadata combined. So at some Point every file smaller 127K should be in L3 Cache...
the shocking part for me were the low percentages in t he L3-Cache. Cause of this was, that there is just too less traffic and data on the box. thus all the data/metadata resides in L1 and L2.
In the last days the L3 metadata hits raised to 35,6% - but looking on the numbers i see 93384 misses and 51633 hits. So i have 62790 new read.starts and 51633 hitted. That makes a very good 82% for this new hits.
Peter_Sero
6 Operator
•
1169 Posts
3659
0
Posted October 29th, 2015 02:00
When warming up the L3 cache with treewalks, record the isi_cache_stats outputs.
With some delay (minutes... hours) start additional instances of the same treewalks and see how the L3 cache hit rates rise up...
If the picture turns out inconsistent or unexpected things happen, let us know. It's the kind of things one cannot test with the virtual nodes.
Likewise I'd say your time calculation is best effort on limited information, just go for it and keep the eyes open.
-- Peter