lkml.org 
[lkml]   [2000]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectStrange scheduling behavoir in SMP (kernel 2.2.14)
    Hi,

    I have a SMP machine with two Pentium III. In order to compare performance with other machines I began a simple test:

    for (i=0;i<MAX_NUMBER;i++)
    for(j=0;j<MAX_NUMBER;j++)
    c=a*b; /* These variables could be integer or double */


    Using kernel 2.2.12 with SMP support this simple program take more time in my machine than in a uniprocessor with K6-2 (the same problem appear in the last stable kernel 2.2.14) Using xosview
    application I discovered where the problem was. Instead of staying all the time in the same cpu, the process go from one cpu to other with a big performance lost.

    Am I right?. Has been this problem solved in 2.3.x series?

    Thanks a lot in advance.


    --
    Prof. Antonio Flores Gil
    Departamento de Ingeniería y Tecnología de Computadores. Facultad de
    Informática. Universidad de Murcia
    Campus de Espinardo - 30080 Murcia (SPAIN)
    Tel.: +34-968-364638 Fax: +34-968-364151
    email: aflores@ditec.um.es




    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:56    [W:0.018 / U:30.448 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site