Feature #8538

Feature #8534: Want AVX-512 Support

add support for xsaveopt for improved context switching

Added by Robert Mustacchi 5 months ago. Updated 4 months ago.

Status:ClosedStart date:2017-07-25
Priority:NormalDue date:
Assignee:Jerry Jelinek% Done:

100%

Category:kernel
Target version:-
Difficulty:Medium Tags:

Description

The xsave support we're currently using requires a fixed size and overhead for the save area. As Intel adds more state to their newer CPUs, the size of the xsave area keeps increasing. Intel has added two new instructions, xsavec and xsaveopt which can improve the performance needed to save CPU state.

History

#1 Updated by Electric Monk 4 months ago

  • Status changed from New to Closed

git commit 088d69f878cf3fb57556357236ef8e1c8f9d893e

commit  088d69f878cf3fb57556357236ef8e1c8f9d893e
Author: Jerry Jelinek <jerry.jelinek@joyent.com>
Date:   2017-08-16T17:06:52.000Z

    8534 Want AVX-512 Support
    8535 kernel cpuid support for new processors
    8536 xsave area should size dynamically, based on CPU features
    8537 rtld needs to learn about AVX512
    8538 add support for xsaveopt for improved context switching
    8539 better handling for AMD-specifc *save_ctxt FP exceptions
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Also available in: Atom