[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    Re: vgacon / vesafb performance stats
From:       "Petr Vandrovec Ing. VTEI" <VANDROVE () vc ! cvut ! cz>
Date:       1998-07-31 17:40:34
[Download RAW message or body]

> OK, so the test was *really* simplistic, but I've got the following
> figures. NB the "averages" were over 5 runs on a lightly loaded system
> running normal daemons.  They weren't calculated, they are just rough
Running one RC5DES client...
> averages from eyeballing the script outputs. 
Script? Eyeballing? I've created C-program and then 
time /bin/sh -c "for i in 1 2 3 4 5 ; do ./testx ; done"
> Raw Data
> ========
> Test 1: Write 1 million chars to the screen
> ===========================================
> 2.1.112 vgacon:
> ave 0:4.66 elapsed, 2.90 user, 1.75 system
> 2.1.112 vesa:redraw
> ave 1:32.10 elapsed, 2.93 user, 89.12 system
> 2.1.112 vesa:memmove
> (I ran out of patience!)
> 2.0.34 stock redhat-5.1
> ave 0:10.90 elapsed, 2.90 user, 8.05 system
2.1.112 matroxfb, xres = vxres = 640, yres = vyres = 480, depth = 8
avg: 40.23, user: 0.29, system: 36.36 

2.1.112 matroxfb, xres = vxres = 640, yres = 480, vyres = 960, depth = 8,
    ypan active
avg: 12.38, user: 0.25, system: 11.13
> Test 2: Write the string "Linux" to the screen 1 million times
> ==============================================================
> 2.1.112 vgacon
> ave 0:10.84 elapsed, 1.96 user, 8.89 system
> 2.1.112 vesa:redraw
> ave 2:58.87 elapsed, 4.60 user, 88.50 system
> 2.1.112 vesa:memmove
> not enough hours in the day :-)
> 2.0.34 stock redhat-5.1
> ave 0:41.90 elapsed, 1.90 user, 40.00 system
2.1.112 matroxfb, xres = vxres = 640, yres = vyres = 480, depth = 8
avg: 2:45.53, user: 0.16, system: 2:30.72

2.1.112 matroxfb, xres = vxres = 640, yres = 480, vyres = 960, depth = 8,
        ypan active
avg: 25.48, user: 0.22, system: 22.99        
> System Used
> ===========
> An Intel P200 non-MMX with an ATI 3D Expression+ PC2TV (Mach64)
Intel P200 MMX, Matrox Millenium I, 2MB WRAM
> vesa mode used:
> mode "name"
>     # H: 0.000 kHz, V: 0.000 Hz
>     geometry 640 480 640 480 8
>     timings 0 0 0 0 0 0 0
> endmode
> 
> Frame buffer device information:
>     Name        : `VESA VGA'
>     Address     : 0xfd000000
>     Size        : 307200
>     Type        : PACKED PIXELS
>     Visual      : PSEUDOCOLOR
>     XPanStep    : 0
>     YPanStep    : 0
>     YWrapStep   : 0
>     LineLength  : 640
>     Acceleration: None
mode "name"
    # H: 49.407Hz, V: 90.822 Hz
    geometry 640 480 640 480 8  # or 640 480 640 960 8
    timings 23000 80 80 16 16 80 32
endmode

Frame buffer device information:
    Name        : `MATROX'
    Address     : 0xe0000000
    Size        : 2097152
    Type        : PACKED PIXELS
    Visual      : PSEUDOCOLOR
    XPanStep    : 8
    YPanStep    : 1
    YWrapStep   : 0
    LineLength  : 640
    Acceleration: None

Font 8x16
    
Test suite:
test1.c:
#include <unistd.h>
int main(void) {
    int i;
    for (i=0; i<1000000; i++) write(1,"a",1);
    return 0;
}

test2.c:
#include <unistd.h>
int main(void) {
    int i;
    for (i=0; i<1000000; i++) write(1,"Linux",5);
    return 0;
}

I think that after weekend I do some more testing because of I'm interested
how much MGA acceleration accelerates character drawing and bmove. I do
not know, whether my results are relevant, because I cannot believe that
my GRAPHICS driver can outperform character console from 2.0.34... Yes,
it is fast, but...
                                            Best regards
                                                    Petr Vandrovec
                                                    vandrove@vc.cvut.cz
                                                    
P.S.: If you are interested in driver, sorry... Driver for Millenium (without
BIOS support and without any VGA code (i.e. dualhead with S3 together 
is possible)) is available on well known address, driver for Mystique is 
not finished yet.

-
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.altern.org/andrebalsa/doc/lkml-faq.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic