Messages in this thread | | | Date | Sat, 2 Jan 1999 08:43:11 +0100 (CET) | From | Dag Wieers <> | Subject | Difference between 2.0.36 and 2.2.0pre3 ? |
| |
i got this strange problem while untarring a complete source-tree.
when i untarred it with a 2.0.36-kernel it took about a minute (what was normal) but when i tried to untar it on my 2.2.0-pre3 it took +-5 sec for just a couple of files... (i was pretty much bored after a minute, it would have been busy for an hour or so) and since the difference was this big, it must have been IDE, right ? (all 2.2.0 suffered from the same 'delay')
wrong ;) stracing tar pointed out that is got something to do with sockets ;/ from some strange (to me) reason it opens a socket (sunrpc ? tar ??) on interface lo and repeats this for every +-5 files ;( and 2.0.36 didn't show this behaviour, in fact, it does everything exactly the same, but it delays less long. (in fact you don't notice it)
iptraf ~~~~~~ ICMP dest unreach (port) from localhost to localhost on lo ICMP dest unreach (port) from localhost to localhost on lo UDP from localhost:737 to localhost:sunrpc on lo UDP from localhost:737 to localhost:sunrpc on lo ^^^this behaviour when tar was 'delaying'
strace tar ~~~~~~~~~~ gettimeofday({915261124, 651533}, NULL) = 0 getpid() = 979 socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 4 bind(4, {sin_family=AF_INET, sin_port=htons(737), sin_addr=inet_addr("0.0.0.0")}, 16) = 0 ioctl(4, FIONBIO, [1]) = 0 sendto(4, "7\2044\32\0\0\0\0\0\0\0\2\0\1\206"..., 56, 0, {sin_family=AF_INET, sin_port=htons(111), sin_addr=inet_addr("127.0.0.1")}, 16) = 56 select(1024, [4], NULL, NULL, {5, 0} <unfinished ...> ^^^^^^here it delay's for +-5 secs for each couple of files with 2.2.0pre3
my system is a plain redhat 5.2 with the newer packages as described in the Documentation/Changes. if you need more information... ;)
dag wieers, <dag@digibel.be>, http://dag.ml.org/ _| _ _ ° we know linux is the best, it can do infinite ° (_|(_|(_| ° loops in five seconds. -- Linus Torvalds |
- 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.tux.org/lkml/
| |