lkml.org 
[lkml]   [2020]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v7] swiotlb: Adjust SWIOTBL bounce buffer size for SEV guests.
    On Mon, Dec 07, 2020 at 10:06:24PM +0000, Ashish Kalra wrote:
    > This is related to the earlier static adjustment of the SWIOTLB buffers
    > as per guest memory size and Konrad's feedback on the same, as copied
    > below :
    >
    > >>That is eating 128MB for 1GB, aka 12% of the guest memory allocated statically for this.
    > >>
    > >> And for guests that are 2GB, that is 12% until it gets to 3GB when
    > >> it is 8% and then 6% at 4GB.
    > >>
    > >> I would prefer this to be based on your memory count, that is 6% of
    > >> total memory.

    So no rule of thumb and no measurements? Just a magic number 6.

    Btw, pls trim the rest of the mail when you reply. Like I just did.
    There's no need to leave text which you're not responding to, quoted.

    Thx.

    --
    Regards/Gruss,
    Boris.

    https://people.kernel.org/tglx/notes-about-netiquette

    \
     
     \ /
      Last update: 2020-12-07 23:16    [W:4.358 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site