Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.networking > #1518
| From | Noob <root@127.0.0.1> |
|---|---|
| Newsgroups | comp.os.linux.networking |
| Subject | Re: scatter/gather test |
| Date | 2012-07-18 12:08 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <ju61ug$e5e$1@dont-email.me> (permalink) |
| References | <1e1274bf-aabe-48d3-b1cc-2fbcea2fc9c9@googlegroups.com> <ju4j27$lks$1@usenet01.boi.hp.com> <bd62df23-6ea9-4ed2-9781-f368c58ff97a@googlegroups.com> |
wkevin wrote: > Any ideas? did anybody had success with testing scatter/gather? Have you tried coalescing multiple disjoint buffers using sendmsg? (sendmsg is the text-book API for user-space scatter/gather.) http://pubs.opengroup.org/onlinepubs/9699919799/functions/sendmsg.html http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_socket.h.html ssize_t sendmsg(int socket, const struct msghdr *message, int flags); The msghdr structure shall include at least the following members: void *msg_name Optional address. socklen_t msg_namelen Size of address. struct iovec *msg_iov Scatter/gather array. int msg_iovlen Members in msg_iov. void *msg_control Ancillary data; see below. socklen_t msg_controllen Ancillary data buffer len. int msg_flags Flags on received message. Regards.
Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
scatter/gather test wkevin <wkevils@gmail.com> - 2012-07-17 11:37 -0700
Re: scatter/gather test Rick Jones <rick.jones2@hp.com> - 2012-07-17 20:48 +0000
Re: scatter/gather test wkevin <wkevils@gmail.com> - 2012-07-17 23:21 -0700
Re: scatter/gather test Noob <root@127.0.0.1> - 2012-07-18 12:08 +0200
Re: scatter/gather test wkevin <wkevils@gmail.com> - 2012-07-18 05:18 -0700
Re: scatter/gather test Noob <root@127.0.0.1> - 2012-07-18 15:38 +0200
Re: scatter/gather test Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-07-18 14:48 +0000
Re: scatter/gather test wkevin <wkevils@gmail.com> - 2012-07-18 05:14 -0700
Re: scatter/gather test Rick Jones <rick.jones2@hp.com> - 2012-07-18 18:55 +0000
csiph-web