------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. http://bugs.kde.org/show_bug.cgi?id=111855 Summary: default suppression file is read 1 byte at a time Product: valgrind Version: unspecified Platform: Compiled Sources OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: memcheck AssignedTo: jseward acm org ReportedBy: jreiser bitwagon com Version: valgrind-3.0.1 (using KDE Devel) Installed from: Compiled sources Compiler: gcc (GCC) 4.0.1 20050727 (Red Hat 4.0.1-5) OS: Linux Memcheck reads the default suppression file using one system call read() for each byte in the file. Ordinarily this is the slowest method. Using a larger buffer might reduce startup time of memcheck by enough to notice (a second or two). Evidence: run "strace -o strace.out valgrind301 date" then examine strace.out: ----- open("/usr/local/valgrind301/lib/valgrind/default.supp", O_RDONLY) = 3 read(3, "#", 1) = 1 read(3, " ", 1) = 1 read(3, "T", 1) = 1 read(3, "h", 1) = 1 read(3, "i", 1) = 1 read(3, "s", 1) = 1 read(3, " ", 1) = 1 read(3, "i", 1) = 1 read(3, "s", 1) = 1 read(3, " ", 1) = 1 read(3, "a", 1) = 1 read(3, " ", 1) = 1 read(3, "g", 1) = 1 read(3, "e", 1) = 1 read(3, "n", 1) = 1 read(3, "e", 1) = 1 read(3, "r", 1) = 1 read(3, "a", 1) = 1 read(3, "t", 1) = 1 read(3, "e", 1) = 1 read(3, "d", 1) = 1 read(3, " ", 1) = 1 read(3, "f", 1) = 1 read(3, "i", 1) = 1 ... -----