To Learn More or Register: LinuxCon North America | CloudOpen North America
Back To Schedule
Wednesday, August 20 • 3:30pm - 4:20pm
Ever Growing CPU States: Context Switch with Less Memory and Better Performance - Fenghua Yu, Intel

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Context switch is a key part of multiprocessing. With more CPU features implemented, the switched states are growing. On x86 CPU, extended state (xstate) manages the state components which have been expanding from legacy floating points and SSE to AVX, AVX2, AVX512, MPX, and Intel PT registers. But the increasing xstates are putting pressure on mem/cache footprint for multi processes and speed of switching processes.
Fenghua Yu will overview existing context switch policy and its problems. He will discuss new technology to occupy less context mem and improve context switch performance. His optimization can reduce xstate mem space (2.5KB/process on the latest CPU) by 77% in the best case. New APIs to save/restore less context improve performance by limiting switched data to reduce time and cache footprint. The APIs are used in crypto, fast copy pages, etc.
The patches will be in 3.16.

Survey this Session  

avatar for Fenghua Yu

Fenghua Yu

Linux Kernel Developer, Intel
Fenghua Yu is a Linux kernel developer in Intel. He has been working on Linux kernel development for over ten years. His projects cover various areas include platform QoS, EFI, kernel optimization, power management, context switch, security, etc. He lives in the San Francisco bay... Read More →

Wednesday August 20, 2014 3:30pm - 4:20pm CDT
Sheraton Ballroom I

Attendees (0)