From owner-freebsd-hackers Thu Dec 7 23:34: 0 2000 From owner-freebsd-hackers@FreeBSD.ORG Thu Dec 7 23:33:59 2000 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from c014.sfo.cp.net (c014-h017.c014.sfo.cp.net [209.228.12.81]) by hub.freebsd.org (Postfix) with SMTP id D619537B400 for ; Thu, 7 Dec 2000 23:33:58 -0800 (PST) Received: (cpmta 9498 invoked from network); 7 Dec 2000 23:33:58 -0800 Received: from d8c81e5f.dsl.flashcom.net (HELO quadrajet.flashcom.com) (216.200.30.95) by smtp.flashcom.net (209.228.12.81) with SMTP; 7 Dec 2000 23:33:58 -0800 X-Sent: 8 Dec 2000 07:33:58 GMT Received: (from guy@localhost) by quadrajet.flashcom.com (8.9.3/8.9.3) id XAA00512; Thu, 7 Dec 2000 23:33:57 -0800 (PST) (envelope-from gharris) Date: Thu, 7 Dec 2000 23:33:56 -0800 From: Guy Harris To: Dragos Ruiu Cc: tcpdump-workers@tcpdump.org, ethereal-dev@ethereal.com, snort-devel@lists.sourceforge.net, freebsd-hackers@freebsd.org, tech@openbsd.org Subject: Re: [tcpdump-workers] Fwd: kyxtech: freebsd outsniffed by wintendo !!?!? Message-ID: <20001207233356.B352@quadrajet.flashcom.com> References: <0012072118150Q.09615@smp.kyx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <0012072118150Q.09615@smp.kyx.net>; from dr@kyx.net on Thu, Dec 07, 2000 at 09:06:04PM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Dec 07, 2000 at 09:06:04PM -0800, Dragos Ruiu wrote: > (Hurm.... Wintendo outperforming unix???!?? Something's > improper about this, and it ought to be fixed... :-) > Comments? Other OS numbers: more recent > FreeBSD versions? Solaris? Tru64? Optimization > patches? As an experiment, changing BPF_MAXBUFSIZE to 1MB, and changing libpcap to use a 1MB buffer, on FreeBSD? (That might help the "whole packet dumped" test.) Somehow measuring how large the byte count in the capture file "write()" calls in FreeBSD and "WriteFile()" calls are? (FreeBSD is probably doing 8K writes, assuming it's writing to an 8K/1K file system; I don't know what block size the MSVC++ version of the standard I/O library uses, but it might well use bigger chunks than 8K.) > Can those OO MSDN lobotomies actually be good things? I'm not sure the parts of the OS that are actually involved are particularly object-oriented; I have the impression most of the COM, etc. stuff lives well up in userland on Windows. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message