From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Greear Subject: Re: kernel module to generate UDP & TCP traffic? Date: Mon, 15 Apr 2002 16:52:39 -0700 Sender: linux-net-owner@vger.kernel.org Message-ID: <3CBB67C7.4080905@candelatech.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: linux-net Return-path: To: Amit Kucheria List-Id: netdev.vger.kernel.org Amit Kucheria wrote: > On Mon, 15 Apr 2002, Ben Greear wrote: > > >>I'm considering writing a kernel module that will be used to >>generate and receive copious amounts of Ethernet, UDP, and TCP >>traffic. I would prefer to tweak/use an existing tool if any >>is available. Any suggestions? >> >>Thanks, >>Ben >> > > > How about using the tun/tap devices in the 2.4. kernels which can RX/TX > Ethernet frames from/to userspace? I can already send/rcv packets with raw sockets, but the problem is that causes coppies to/from user space, which not only decreases throughput, but adds considerable latency. If I can run the generation down in the kernel, it will run much faster. > > http://vtun.sourceforge.net > > -- Ben Greear President of Candela Technologies Inc http://www.candelatech.com ScryMUD: http://scry.wanfear.com http://scry.wanfear.com/~greear