Menu

#194 Low iostream performance on HP-UX 11.23 IA-64 GCC 3.4.4

open-later
1
2008-11-26
2008-11-25
KBac
No

Low iostream performance on HP-UX 11.23 IA-64 GCC 3.4.4.

File 500MB was written during 10 sec and read during 20 sec using STLport ofstream/ifstream. STLport 4.6.2, 5.1.5, 5.2.0.

If application was built without STLport, but with system STL, then 500MB file was written during 10 sec and read during 1 sec!

Do you have any ideas about this?

Discussion

  • Petr Ovtchenkov

    Petr Ovtchenkov - 2008-11-26
    • assigned_to: nobody --> complement
     
  • Petr Ovtchenkov

    Petr Ovtchenkov - 2008-11-26

    What about clear test?

     
  • KBac

    KBac - 2008-11-26

    stl_rw_file.cpp

     
  • KBac

    KBac - 2008-11-26

    Test utility in attached files.
    Usage:
    stl_rw_file <file_name> -w <file_size in MB> //write file
    stl_rw_file <file_name> -r //read file

    Example:
    stl_rw_file dump.bin -w 500 //write file
    stl_rw_file dump.bin -r //read file

    File Added: stl_rw_file.cpp

     
  • KBac

    KBac - 2008-11-26

    dump.h

     
  • KBac

    KBac - 2008-11-26

    File Added: dump.h

     
  • KBac

    KBac - 2008-11-26

    File Added: dump.cpp

     
  • KBac

    KBac - 2008-11-26

    dump.cpp

     
  • KBac

    KBac - 2008-11-26

    File Added: bin_io.h

     
  • KBac

    KBac - 2008-11-26

    bin_io.h

     
  • KBac

    KBac - 2008-11-26

    result.txt

     
  • KBac

    KBac - 2008-11-26

    File Added: result.txt

     
  • Petr Ovtchenkov

    Petr Ovtchenkov - 2008-11-26
    • priority: 5 --> 1
    • status: open --> open-later
     
  • Petr Ovtchenkov

    Petr Ovtchenkov - 2008-11-26

    Ugly deployment form. That's why low priority; I will see this later.

     
  • KBac

    KBac - 2008-11-27

    I don't understand, why it's "Ugly deployment form".
    I have problems with STLport on this platform. This test is not synthetic. It's based on small piece of code from big project.
    Maybe it's "ugly" designed, but it shows real results.

     

Log in to post a comment.