syslogd performance on ext2 vs. ext3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I suppose it's expected that code like the following would run some 10x slower on ext3 due to the journaling, but thought i'd mention it anyway.
--
SW

#include <stdio.h>
#include <syslog.h>
main()
{
  int i;
  openlog("speedtest",LOG_PID,LOG_USER);
  for(i=0;i<999;i++) {
    syslog(LOG_INFO,"%s","log number 1");
    syslog(LOG_INFO,"%s","log number 2");
  }
  closelog();
}

--
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]