lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080923070758.GD25231@2ka.mipt.ru>
Date:	Tue, 23 Sep 2008 11:07:58 +0400
From:	Evgeniy Polyakov <johnpol@....mipt.ru>
To:	Herbert Xu <herbert@...dor.apana.org.au>
Cc:	davem@...emloft.net, johaahn@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH] sendfile() and UDP socket

On Tue, Sep 23, 2008 at 03:01:33PM +0800, Herbert Xu (herbert@...dor.apana.org.au) wrote:
> Yes but bulk transfers over UDP is a bad idea regardless of how
> slow your bus is :)

It still deserves living if it is not highly priority traffic like video
dataflow.

> So what application needs this?

Johann did not show his exact usage scenario, but from what I got I
concluded, that it is kind of a video sensor (or some other data which
is allowed to be lost), which has to add a header
to the frame and submit it to the network without any copy because of
hardware limitation for the memory bus. Sensor can put data via DMA to
the needed location. His first (and parallel to this one) idea was to
extend packet socket to allow send of the mapped data.
I proposed to do the same with sendfile, i.e. dma data to the mapped
area of some file in the ramdisk, add header, do it for multiple frames
and then send given file using sendfile().

-- 
	Evgeniy Polyakov
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ