[lkml]   [2007]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subjectdecrease L2 cache size used by Linux?
    Guerreiro da Luz wrote:
    > Am benchmarking dumb matrix multiplication in trying to perceive
    > performance drop in case when matrix cannot fit in L2 cache. However,
    > on my machine L2 cache is large - 2MB, so 512x512 matrix of double
    > numbers is needed to fill the cache, and in that case multiplication
    > is taking rather long time. So I'm wondering is there a way to
    > control (decrease) L2 cache size used by Linux? Apologies if question
    > inappropriate for the list.

    You may want to turn off randomization,

    echo 0 > /proc/sys/kernel/randomize_va_space
    echo 1 > /proc/sys/vm/vdso_enabled

    And see if that helps.



    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-03-16 22:55    [W:0.020 / U:2.364 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site