Remove c
article thumbnail

Fundamentals of Table Expressions, Part 12 – Inline Table-Valued Functions

SQL Performance

I also compare them with stored procedures, mainly focusing on differences in terms of default optimization strategy, and plan caching and reuse behavior. The main minus of parameter embedding optimization is you don’t get efficient plan caching and reuse behavior like you do for parameterized plans. plan_handle , Q. SELECT TOP (@n).WHERE

Cache 144
article thumbnail

Bringing Rich Experiences to Memory-constrained TV Devices

The Netflix TechBlog

In a previous post , we described how our TV application consists of a C++ SDK installed natively on the device, an updatable JavaScript user interface (UI) layer, and a custom rendering layer known as Gibbon. Our UI runs on top of a custom rendering engine which uses what we call a “surface cache” to optimize our use of graphics memory.

Cache 167
Insiders

Sign Up for our Newsletter

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

article thumbnail

Analyzing a High Rate of Paging

Brendan Gregg

1072-aws (xxx) 12/18/2018 _x86_64_ (16 CPU) avg-cpu: %user %nice %system %iowait %steal %idle 5.03 1072-aws (xxx) 12/18/2018 _x86_64_ (16 CPU) avg-cpu: %user %nice %system %iowait %steal %idle 5.03 Reads usually have apps waiting on them; writes may not (write-back caching). Hit Ctrl-C to end. ^C Hit Ctrl-C to end. ^C

Cache 78
article thumbnail

What bugs cause cloud production incidents?

The Morning Paper

In total, there were 112 such incidents over the period March – September 2018 (not all of them affecting external customers). Most Azure code is written in.Net managed languages such as C#, reducing memory leak bugs. Tools like CHESS and PCT [[link] are used to expose shared-memory concurrency bugs.

Cloud 81
article thumbnail

Speeding up Linux kernel builds with ccache

Nick Desaulniers

ccache , the compiler cache, is a fantastic way to speed up build times for C and C++ code that I previously recommended. Usually when this happens with ccache, there’s something non-deterministic about the builds that prevents cache hits. . $ Sat Mar 17 03:04:59 UTC 2018. Cold Cache. Hot Cache.

Speed 46
article thumbnail

Compiler bug? Linker bug? Windows Kernel bug.

Randon ASCII

See the end of the post for an October 2018 bug fix update, or read the whole story: Flaky failures are the worst. This was starting to look like a Windows file cache bug. Maybe something to do with multi-socket coherency of the disk and cache or ??? Update, October 2018. failure rate.

article thumbnail

A thorough introduction to bpftrace

Brendan Gregg

C @ns: [256, 512) 10900 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | [512, 1k) 18291 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@| [1k, 2k) 4998 |@@@@@@@@@@@@@@ | [2k, 4k) 57 | | [4k, 8k) 117 | | [8k, 16k) 48 | | [16k, 32k) 109 | | [32k, 64k) 3 | |. . ### Source Here's the code to biolatency.bt: tools# cat -n biolatency.bt. Attaching 3 probes.

Latency 57