article thumbnail

Cache-Control for Civilians

CSS Wizardry

To this end, having a solid caching strategy can make all the difference for your visitors. ?? How is your knowledge of caching and Cache-Control headers? That being said, more and more often in my work I see lots of opportunities being left on the table through unconsidered or even completely overlooked caching practices.

Cache 264
article thumbnail

The Return of the Frame Pointers

Brendan Gregg

This technique saves two instructions in the prologue and epilogue and makes one additional general-purpose register (%rbp) available." Only in extreme circumstances does the cost (in processor time and I-cache footprint) translate to a tangible benefit - circumstances which usually resort to hand-coded assembly anyway.

Java 145
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Analyzing a High Rate of Paging

Brendan Gregg

Reads usually have apps waiting on them; writes may not (write-back caching). total used free shared buff/cache available Mem: 64414 15421 349 5 48643 48409 Swap: 0 0 0. There's not much memory left, 349 Mbytes, but more interesting is the amount in the buffer/page cache: 48,643 Mbytes (48 Gbytes). This is "cache busting."

Cache 105
article thumbnail

How To Add eBPF Observability To Your Product

Brendan Gregg

cachestat File system cache statistics line charts. For a more recent example, I wrote cachestat(8) while on vacation in 2014 for use on the Netflix cloud, which was a mix of Linux 3.2 BPF didn't exist on those versions, so I used basic Ftrace capabilities that were available on Linux 3.2. opensnoop Files opened table.

Latency 145
article thumbnail

Minimal Logging with INSERT…SELECT into Empty Clustered Tables

SQL Performance

If both sort and no-sort alternatives are available, the optimizer will make a cost-based choice. For SQL Server 2014 and later, the uniquifier is correctly omitted for unique indexes, but the one extra byte for the internal bit flag is retained. spt_values AS SV ; Plan Caching. Type id 56 integer = 4 bytes ( id column).

Cache 67
article thumbnail

Analyzing a High Rate of Paging

Brendan Gregg

Reads usually have apps waiting on them; writes may not (write-back caching). This is a 64-Gbyte memory system, and 48 Gbytes is in the page cache (the file system cache). Along with the numbers from the problem statement, this gives me a theory: Do the 100-Gbyte files bust the page cache, whereas 40-Gbyte files fit?

Cache 40
article thumbnail

Progress Delayed Is Progress Denied

Alex Russell

This post mines publicly available data on the pace of compatibility fixes and feature additions to assess the claim. The information it captures is, however, available going back somewhat further, providing a fuller picture of the trend lines of engine completeness. Count of APIs available from JavaScript by Web Confluence.

Media 145