Re: printf() overhead

From: Andre Tomt
Date: Sun Jan 09 2005 - 14:44:25 EST


John Richard Moser wrote:
using strace to run a program takes aeons. Redirecting the output to a
file can be a hundred times faster sometimes. This raises question.

I understand that output to the screen is I/O. What exactly causes it
to be slow, and is there a possible way to accelerate the process?

The terminal is a major factor; gnome-terminal for example can be *extremely* slow.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/