<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/sys/sendfile.2, branch upstream/11.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>New sendfile(2) syscall. A joint effort of NGINX and Netflix from 2013 and</title>
<updated>2016-01-08T20:34:57+00:00</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2016-01-08T20:34:57+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2bab0c553588a7c2a8dd59a0f20b9b5ded528274'/>
<id>2bab0c553588a7c2a8dd59a0f20b9b5ded528274</id>
<content type='text'>
up to now.

The new sendfile is the code that Netflix uses to send their multiple tens
of gigabits of data per second. The new implementation features asynchronous
I/O, when I/O operations are launched, but not awaited to be complete. An
explanation of why such behavior is beneficial compared to old one is
going to be too long for a commit message, so we will skip it here.

Additional features of new syscall are extra flags, which provide an
application more control over data sent. The SF_NOCACHE flag tells
kernel that data shouldn't be cached after it was sent. The SF_READAHEAD()
macro allows to specify readahead size in pages.

The new syscalls is a drop in replacement. No modifications are required
to applications. One can take nginx binary for stable/10 and run it
successfully on head. Although SF_NODISKIO lost its original sense, as now
sendfile doesn't block, and now means something completely different (tm),
using the new sendfile the old way is absolutely safe.

Celebrates:	Netflix global launch!
Sponsored by:	Nginx, Inc.
Sponsored by:	Netflix
Relnotes:	yes
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
up to now.

The new sendfile is the code that Netflix uses to send their multiple tens
of gigabits of data per second. The new implementation features asynchronous
I/O, when I/O operations are launched, but not awaited to be complete. An
explanation of why such behavior is beneficial compared to old one is
going to be too long for a commit message, so we will skip it here.

Additional features of new syscall are extra flags, which provide an
application more control over data sent. The SF_NOCACHE flag tells
kernel that data shouldn't be cached after it was sent. The SF_READAHEAD()
macro allows to specify readahead size in pages.

The new syscalls is a drop in replacement. No modifications are required
to applications. One can take nginx binary for stable/10 and run it
successfully on head. Although SF_NODISKIO lost its original sense, as now
sendfile doesn't block, and now means something completely different (tm),
using the new sendfile the old way is absolutely safe.

Celebrates:	Netflix global launch!
Sponsored by:	Nginx, Inc.
Sponsored by:	Netflix
Relnotes:	yes
</pre>
</div>
</content>
</entry>
<entry>
<title>use .Mt to mark up email addresses consistently (part4)</title>
<updated>2014-06-23T08:25:03+00:00</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2014-06-23T08:25:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8fbf3d50e331929dfa82912749a2a5ce240d475b'/>
<id>8fbf3d50e331929dfa82912749a2a5ce240d475b</id>
<content type='text'>
PR:		191174
Submitted by:	Franco Fichtner  &lt;franco at lastsummer.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:		191174
Submitted by:	Franco Fichtner  &lt;franco at lastsummer.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Document that sendfile(2) can fail with ENOBUFS.</title>
<updated>2012-11-14T01:45:10+00:00</updated>
<author>
<name>Kevin Lo</name>
<email>kevlo@FreeBSD.org</email>
</author>
<published>2012-11-14T01:45:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d9b3cfecfd1145c6c5b434b175062c6a5cbfb349'/>
<id>d9b3cfecfd1145c6c5b434b175062c6a5cbfb349</id>
<content type='text'>
Reviewed by:	glebius
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by:	glebius
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove trailing whitespace per mdoc lint warning</title>
<updated>2012-03-29T05:02:12+00:00</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2012-03-29T05:02:12+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=50d675f7a9fca2f3fba3a23ac41a8ae2c0162e4e'/>
<id>50d675f7a9fca2f3fba3a23ac41a8ae2c0162e4e</id>
<content type='text'>
Disussed with:	gavin
No objection from:	doc
Approved by:	joel
MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Disussed with:	gavin
No objection from:	doc
Approved by:	joel
MFC after:	3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>Further fix grammar.</title>
<updated>2010-01-07T21:14:46+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2010-01-07T21:14:46+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4319da131982768a378c4accac7bc885715c577f'/>
<id>4319da131982768a378c4accac7bc885715c577f</id>
<content type='text'>
Suggested by:	alc
MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Suggested by:	alc
MFC after:	3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a typo and bump date for the previous commit.</title>
<updated>2010-01-07T21:08:22+00:00</updated>
<author>
<name>Christian Brueffer</name>
<email>brueffer@FreeBSD.org</email>
</author>
<published>2010-01-07T21:08:22+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=44640a525122dfff5458c8b74a38107a3f9b5a2c'/>
<id>44640a525122dfff5458c8b74a38107a3f9b5a2c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Give some information on SF_MNOWAIT flag.</title>
<updated>2010-01-07T13:31:00+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2010-01-07T13:31:00+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0b562967727a12c24879a58a28ffc2d282733582'/>
<id>0b562967727a12c24879a58a28ffc2d282733582</id>
<content type='text'>
MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MFC after:	3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>Give sendfile(2) a SF_SYNC flag which makes it wait until all mbufs</title>
<updated>2008-02-03T15:54:41+00:00</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2008-02-03T15:54:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b75a1171d8ba4b08c4249e3ab6ce5f0ea446fdf3'/>
<id>b75a1171d8ba4b08c4249e3ab6ce5f0ea446fdf3</id>
<content type='text'>
referencing the files VM pages are returned from the network stack,
making changes to the file safe.

This flag does not guarantee that the data has been transmitted to the
other end.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
referencing the files VM pages are returned from the network stack,
making changes to the file safe.

This flag does not guarantee that the data has been transmitted to the
other end.
</pre>
</div>
</content>
</entry>
<entry>
<title>Note that, thanks to the work by Alan Cox et al, some arch'es</title>
<updated>2006-11-24T11:44:19+00:00</updated>
<author>
<name>Yaroslav Tykhiy</name>
<email>ytykhiy@gmail.com</email>
</author>
<published>2006-11-24T11:44:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=df19774d2f441434bc01e2ccfefdc22087ac7bad'/>
<id>df19774d2f441434bc01e2ccfefdc22087ac7bad</id>
<content type='text'>
don't need sendfile() buffers any more.

The report on the work referenced can be found at
http://usenix.org/events/usenix05/tech/general/elmeleegy.html

MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
don't need sendfile() buffers any more.

The report on the work referenced can be found at
http://usenix.org/events/usenix05/tech/general/elmeleegy.html

MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>-mdoc sweep.</title>
<updated>2005-11-17T13:00:00+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2005-11-17T13:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=110e1704d33d8632ce8febdd36a0143ca8b2ef0e'/>
<id>110e1704d33d8632ce8febdd36a0143ca8b2ef0e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
