* 2.4.13pre2aa1
@ 2001-10-13 18:26 Andrea Arcangeli
2001-10-15 17:31 ` new VM: what is classzone ? Martin Devera
0 siblings, 1 reply; 19+ messages in thread
From: Andrea Arcangeli @ 2001-10-13 18:26 UTC (permalink / raw)
To: linux-kernel
Only in 2.4.12aa1: 00_backout-2.4.11pre1-1
Only in 2.4.12aa1: 00_o_direct-2
Only in 2.4.13pre2aa1: 00_o_direct-3
Made a self contained patch that applies cleanly to 2.4.13pre2 ready
for merging. Many thanks to Janet Morgan for fiding another bug in the
blkdev O_DIRECT support.
Only in 2.4.12aa1: 00_cache-without-buffers-1
Only in 2.4.12aa1: 00_parport-fix-1
Just in mainline.
Only in 2.4.13pre2aa1: 00_files_struct_rcu-2.4.10-04-1
File locking read/write spinlock replaced with RCU.
Only in 2.4.13pre2aa1: 00_ordered-freeing-1
Free the pages so that they gets allocated in physical order later,
shouldn't matter but I got reports of slower in-core (cache)
performance on some arch after a fresh boot, and speedup after the
freelist got randomized by load.
Only in 2.4.13pre2aa1: 00_rcu-poll-1
RCU implementation based on latest Dipankar's patch against 2.4.10.
I changed it so that it only has as fast-path/reader-load cost a
per-cpu counter increment in scheduler and nothing else. It is not
arch dependent either. I also tried to optimized the UP case.
Only in 2.4.12aa1: 00_rwsem-fair-22
Only in 2.4.13pre2aa1: 00_rwsem-fair-23
Rediffed.
Only in 2.4.12aa1: 00_rwsem-fair-22-recursive-4
Only in 2.4.13pre2aa1: 00_rwsem-fair-23-recursive-4
Renamed.
Only in 2.4.12aa1: 00_vm-2
Only in 2.4.13pre2aa1: 00_vm-3
Only in 2.4.13pre2aa1: 00_vm-3.1
Further vm changes, backed out the PG_wait_for_IO since it seems not
to make a relevant difference. Should behave better under swap load.
In particular I'm probing the inactive list from shrink_cache now,
so that I get feedback on when it's time to swap before the shrinks
on the inactive list starts failing.
Only in 2.4.12aa1: 10_compiler.h-1
Only in 2.4.13pre2aa1: 10_compiler.h-2
Rediffed.
Only in 2.4.13pre2aa1: 10_lvm-snapshot-check-1
Only in 2.4.12aa1: 10_lvm-snapshot-hardsectsize-1
Only in 2.4.13pre2aa1: 10_lvm-snapshot-hardsectsize-2
LVM updates from Chris.
Only in 2.4.12aa1: 10_numa-sched-11
Only in 2.4.13pre2aa1: 10_numa-sched-12
Rediffed.
Only in 2.4.12aa1: 50_uml-patch-2.4.11-1.bz2
Only in 2.4.13pre2aa1: 50_uml-patch-2.4.12-1-1.bz2
Latest patch from Jeff.
Only in 2.4.12aa1: 60_tux-2.4.10-ac10-E6.bz2
Only in 2.4.13pre2aa1: 60_tux-2.4.10-ac10-F5.bz2
Only in 2.4.12aa1: 62_tux-generic-file-read-1
Only in 2.4.13pre2aa1: 62_tux-generic-file-read-2
Latest update from Ingo.
Andrea
^ permalink raw reply [flat|nested] 19+ messages in thread
* new VM: what is classzone ?
2001-10-13 18:26 2.4.13pre2aa1 Andrea Arcangeli
@ 2001-10-15 17:31 ` Martin Devera
2001-10-15 18:11 ` How many versions of VM are there? M. Edward (Ed) Borasky
0 siblings, 1 reply; 19+ messages in thread
From: Martin Devera @ 2001-10-15 17:31 UTC (permalink / raw)
To: Andrea Arcangeli; +Cc: linux-kernel
Hello Andrea,
please can you explain in few words what 'classzone'
is supposed to be ?
I'm trying to understand new code and knowing idea
behind could help more people. And should not delay
your work too much ..
devik
^ permalink raw reply [flat|nested] 19+ messages in thread
* How many versions of VM are there?
2001-10-15 17:31 ` new VM: what is classzone ? Martin Devera
@ 2001-10-15 18:11 ` M. Edward (Ed) Borasky
2001-10-15 20:58 ` Slo Mo Snail
2001-10-16 12:45 ` sendto syscall is slow Martin Devera
0 siblings, 2 replies; 19+ messages in thread
From: M. Edward (Ed) Borasky @ 2001-10-15 18:11 UTC (permalink / raw)
To: linux-kernel; +Cc: Andrea Arcangeli
Can I get some clarification on how many different versions of VM are
"kicking around?" I know there is the 2.2 version, the 2.4.x Linus Torvalds
version, and Rik van Riel's version which currently resides in the
2.4.x-acyy tree. Are there others? Which one is likely to be the "fittest
that survives?" And where might I find documentation on the tuning parameters?
The 2.2 version is of little interest, but the others are quite important.
--
znmeb@aracnet.com (M. Edward Borasky) http://www.aracnet.com/~znmeb
http://groups.yahoo.com/group/BoraskyResearchJournal
http://groups.yahoo.com/group/comp-finance
http://groups.yahoo.com/group/pdx-neuro-semantics
Americans for Gnu Control remind you: "No gnus is good news!"
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: How many versions of VM are there?
2001-10-15 18:11 ` How many versions of VM are there? M. Edward (Ed) Borasky
@ 2001-10-15 20:58 ` Slo Mo Snail
2001-10-15 21:15 ` Mike Fedyk
2001-10-16 12:45 ` sendto syscall is slow Martin Devera
1 sibling, 1 reply; 19+ messages in thread
From: Slo Mo Snail @ 2001-10-15 20:58 UTC (permalink / raw)
To: M. Edward (Ed) Borasky; +Cc: linux-kernel
As far as I know there are 2 different version of VM:
2.2.x and 2.4.x-acyy: Rik von Riel's VM (but I'm not sure wether it's the
same VM)
2.4.x: Andrea's VM
You find Documentation in
Documentation/vm/*
Documentation/sysctl/vm.txt
but i think there's no Documentation of Andrea's VM yet
Bye
> Can I get some clarification on how many different versions of VM are
> "kicking around?" I know there is the 2.2 version, the 2.4.x Linus Torvalds
> version, and Rik van Riel's version which currently resides in the
> 2.4.x-acyy tree. Are there others? Which one is likely to be the "fittest
> that survives?" And where might I find documentation on the tuning
> parameters? The 2.2 version is of little interest, but the others are quite
> important.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: How many versions of VM are there?
2001-10-15 20:58 ` Slo Mo Snail
@ 2001-10-15 21:15 ` Mike Fedyk
2001-10-15 22:24 ` Tim Moore
2001-10-16 11:23 ` snpe
0 siblings, 2 replies; 19+ messages in thread
From: Mike Fedyk @ 2001-10-15 21:15 UTC (permalink / raw)
To: Slo Mo Snail; +Cc: M. Edward (Ed) Borasky, linux-kernel
On Mon, Oct 15, 2001 at 10:58:22PM +0200, Slo Mo Snail wrote:
> As far as I know there are 2 different version of VM:
> 2.2.x and 2.4.x-acyy: Rik von Riel's VM (but I'm not sure wether it's the
> same VM)
No.
It's not the same VM. 2.2 had a VM change from Andrea at about 2.2.17-18,
don't know about before...
> 2.4.x: Andrea's VM
>
2.4.0-2.4.10pre10 = Rik's VM.
2.4.10pre11+ = Andrea's VM
2.4.12-ac has Rik's vm, and it looks like Alan will keep Rik's VM for a while.
> You find Documentation in
> Documentation/vm/*
> Documentation/sysctl/vm.txt
>
I think this is still out of date... There's a patch at Rik's site. Don't
know if it is accurate for Andrea's VM...
http://www.surriel.com/patches/
> but i think there's no Documentation of Andrea's VM yet
>
True. I don't know if Andrea is working on that yet... It looks like he's
trying to iron out his new VM...
Mike
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: How many versions of VM are there?
2001-10-15 21:15 ` Mike Fedyk
@ 2001-10-15 22:24 ` Tim Moore
2001-10-15 22:29 ` Mike Fedyk
2001-10-16 11:23 ` snpe
1 sibling, 1 reply; 19+ messages in thread
From: Tim Moore @ 2001-10-15 22:24 UTC (permalink / raw)
To: Mike Fedyk; +Cc: Slo Mo Snail, M. Edward (Ed) Borasky, linux-kernel
Mike Fedyk wrote:
>
> On Mon, Oct 15, 2001 at 10:58:22PM +0200, Slo Mo Snail wrote:
> > As far as I know there are 2 different version of VM:
> > 2.2.x and 2.4.x-acyy: Rik von Riel's VM (but I'm not sure wether it's the
> > same VM)
>
> No.
>
> It's not the same VM. 2.2 had a VM change from Andrea at about 2.2.17-18,
> don't know about before...
2.2.19pre2
o Drop the page aging for a moment to merge the
Andrea VM
o Merge Andrea's VM-global patch (Andrea
Arcangeli)
rgds,
tim.
--
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: How many versions of VM are there?
2001-10-15 22:24 ` Tim Moore
@ 2001-10-15 22:29 ` Mike Fedyk
2001-10-15 22:41 ` Gerhard Mack
0 siblings, 1 reply; 19+ messages in thread
From: Mike Fedyk @ 2001-10-15 22:29 UTC (permalink / raw)
To: Tim Moore; +Cc: Slo Mo Snail, M. Edward (Ed) Borasky, linux-kernel
On Mon, Oct 15, 2001 at 03:24:48PM -0700, Tim Moore wrote:
> Mike Fedyk wrote:
> >
> > On Mon, Oct 15, 2001 at 10:58:22PM +0200, Slo Mo Snail wrote:
> > > As far as I know there are 2 different version of VM:
> > > 2.2.x and 2.4.x-acyy: Rik von Riel's VM (but I'm not sure wether it's the
> > > same VM)
> >
> > No.
> >
> > It's not the same VM. 2.2 had a VM change from Andrea at about 2.2.17-18,
> > don't know about before...
>
> 2.2.19pre2
> o Drop the page aging for a moment to merge the
> Andrea VM
> o Merge Andrea's VM-global patch (Andrea
> Arcangeli)
>
So 2.2 used page aging like 2.0 and 2.4 until 2.2.19pre2?
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: How many versions of VM are there?
2001-10-15 22:29 ` Mike Fedyk
@ 2001-10-15 22:41 ` Gerhard Mack
0 siblings, 0 replies; 19+ messages in thread
From: Gerhard Mack @ 2001-10-15 22:41 UTC (permalink / raw)
To: Mike Fedyk; +Cc: Tim Moore, Slo Mo Snail, M. Edward (Ed) Borasky, linux-kernel
On Mon, 15 Oct 2001, Mike Fedyk wrote:
> On Mon, Oct 15, 2001 at 03:24:48PM -0700, Tim Moore wrote:
> > Mike Fedyk wrote:
> > >
> > > On Mon, Oct 15, 2001 at 10:58:22PM +0200, Slo Mo Snail wrote:
> > > > As far as I know there are 2 different version of VM:
> > > > 2.2.x and 2.4.x-acyy: Rik von Riel's VM (but I'm not sure wether it's the
> > > > same VM)
> > >
> > > No.
> > >
> > > It's not the same VM. 2.2 had a VM change from Andrea at about 2.2.17-18,
> > > don't know about before...
> >
> > 2.2.19pre2
> > o Drop the page aging for a moment to merge the
> > Andrea VM
> > o Merge Andrea's VM-global patch (Andrea
> > Arcangeli)
> >
>
> So 2.2 used page aging like 2.0 and 2.4 until 2.2.19pre2?
AFIK there were some changes to the VM during the mid 2.1.x series.
Gerhard
--
Gerhard Mack
gmack@innerfire.net
<>< As a computer I find your faith in technology amusing.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Very old kernel.
2001-10-16 11:23 ` snpe
@ 2001-10-16 10:39 ` Kirill Ratkin
2001-10-16 13:30 ` David Weinehall
0 siblings, 1 reply; 19+ messages in thread
From: Kirill Ratkin @ 2001-10-16 10:39 UTC (permalink / raw)
To: linux-kernel
Hi. Do anybody know how to compile old kernel? (I need
to compile 2.0.35 verion). I make config and make dep,
when I do it I see error (during make dep). I found
this problem as bus error in mkdep binary. I tried to
take config scripts from 2.4.x kernel and it's ok but
when I tried to compile I saw many error connected
with asm statement and function type prefixes (like
__constant_memcopy). I wouldn't like to install old
gcc and old binutils. Are there ways to compile old
kernel with new dev. tools?
Regards,
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: How many versions of VM are there?
2001-10-15 21:15 ` Mike Fedyk
2001-10-15 22:24 ` Tim Moore
@ 2001-10-16 11:23 ` snpe
2001-10-16 10:39 ` Very old kernel Kirill Ratkin
1 sibling, 1 reply; 19+ messages in thread
From: snpe @ 2001-10-16 11:23 UTC (permalink / raw)
To: Mike Fedyk; +Cc: linux-kernel
On Monday 15 October 2001 11:15 pm, Mike Fedyk wrote:
> http://www.surriel.com/patches/
>
Is there this link ?
regards ,
peco
^ permalink raw reply [flat|nested] 19+ messages in thread
* sendto syscall is slow
2001-10-15 18:11 ` How many versions of VM are there? M. Edward (Ed) Borasky
2001-10-15 20:58 ` Slo Mo Snail
@ 2001-10-16 12:45 ` Martin Devera
2001-10-16 13:00 ` Martin Dalecki
2001-10-16 15:59 ` Francois Romieu
1 sibling, 2 replies; 19+ messages in thread
From: Martin Devera @ 2001-10-16 12:45 UTC (permalink / raw)
To: linux-kernel
Hello,
i'm doing new qos discipline developement and use own
mesurment tool. It simply uses PF_PACKET and then
doing sendto/recv simulating various flows.
(I use both lo and eth0 where I short-connected RX-TX
pins in single ethcard)
I can't get beyond 25 000 packets per second. gprof:
Each sample counts as 0.01 seconds.
% cumulative self self total
time seconds seconds calls ms/call ms/call name
35.67 5.39 5.39 498750 0.01 0.01 sendto
26.67 9.42 4.03 1000826 0.00 0.00 poll
19.06 12.30 2.88 498750 0.01 0.01 recv
Is there any faster way to force raw packets to kernel ? I need
to push qos discipline to its edge but I can't because send
syscall is bottleneck.
Is it possible to tx multiple packets in sinhle call or should
I extend kernel myself for this testing purpose ?
thanks, devik
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: sendto syscall is slow
2001-10-16 12:45 ` sendto syscall is slow Martin Devera
@ 2001-10-16 13:00 ` Martin Dalecki
2001-10-16 13:56 ` Martin Devera
2001-10-16 15:59 ` Francois Romieu
1 sibling, 1 reply; 19+ messages in thread
From: Martin Dalecki @ 2001-10-16 13:00 UTC (permalink / raw)
To: Martin Devera; +Cc: linux-kernel
Martin Devera wrote:
>
> Hello,
>
> i'm doing new qos discipline developement and use own
> mesurment tool. It simply uses PF_PACKET and then
> doing sendto/recv simulating various flows.
> (I use both lo and eth0 where I short-connected RX-TX
> pins in single ethcard)
>
> I can't get beyond 25 000 packets per second. gprof:
> Each sample counts as 0.01 seconds.
> % cumulative self self total
> time seconds seconds calls ms/call ms/call name
> 35.67 5.39 5.39 498750 0.01 0.01 sendto
> 26.67 9.42 4.03 1000826 0.00 0.00 poll
> 19.06 12.30 2.88 498750 0.01 0.01 recv
>
> Is there any faster way to force raw packets to kernel ? I need
> to push qos discipline to its edge but I can't because send
> syscall is bottleneck.
> Is it possible to tx multiple packets in sinhle call or should
> I extend kernel myself for this testing purpose ?
Increase the HZ constant in the kernel, which is determining the
sceduler frequency, which is apparently due to BH handling acting
as a low-pass filder for your siganls here. However please
beware of
many possible sideffects this may have on your system.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Very old kernel.
2001-10-16 10:39 ` Very old kernel Kirill Ratkin
@ 2001-10-16 13:30 ` David Weinehall
0 siblings, 0 replies; 19+ messages in thread
From: David Weinehall @ 2001-10-16 13:30 UTC (permalink / raw)
To: Kirill Ratkin; +Cc: linux-kernel
On Tue, Oct 16, 2001 at 03:39:06AM -0700, Kirill Ratkin wrote:
> Hi. Do anybody know how to compile old kernel? (I need
> to compile 2.0.35 verion). I make config and make dep,
> when I do it I see error (during make dep). I found
> this problem as bus error in mkdep binary. I tried to
> take config scripts from 2.4.x kernel and it's ok but
> when I tried to compile I saw many error connected
> with asm statement and function type prefixes (like
> __constant_memcopy). I wouldn't like to install old
> gcc and old binutils. Are there ways to compile old
> kernel with new dev. tools?
The __asm__ in v2.0.xx won't compile with too new binutils (unless you
use v2.0.40-pre[12], where I've fixed this), and a new gcc will
miscompile the x86 port at least.
/David
_ _
// David Weinehall <tao@acc.umu.se> /> Northern lights wander \\
// Project MCA Linux hacker // Dance across the winter sky //
\> http://www.acc.umu.se/~tao/ </ Full colour fire </
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: sendto syscall is slow
2001-10-16 13:00 ` Martin Dalecki
@ 2001-10-16 13:56 ` Martin Devera
0 siblings, 0 replies; 19+ messages in thread
From: Martin Devera @ 2001-10-16 13:56 UTC (permalink / raw)
To: Martin Dalecki; +Cc: linux-kernel
> > i'm doing new qos discipline developement and use own
> > mesurment tool. It simply uses PF_PACKET and then
> > doing sendto/recv simulating various flows.
> > (I use both lo and eth0 where I short-connected RX-TX
> > pins in single ethcard)
> >
> > I can't get beyond 25 000 packets per second. gprof:
> > Each sample counts as 0.01 seconds.
> > % cumulative self self total
> > time seconds seconds calls ms/call ms/call name
> > 35.67 5.39 5.39 498750 0.01 0.01 sendto
> > 26.67 9.42 4.03 1000826 0.00 0.00 poll
> > 19.06 12.30 2.88 498750 0.01 0.01 recv
> >[snip]
>
> Increase the HZ constant in the kernel, which is determining the
> sceduler frequency, which is apparently due to BH handling acting
> as a low-pass filder for your siganls here. However please
> beware of many possible sideffects this may have on your system.
I did. The no of packets decreased:
37.40 6.63 6.63 439050 0.02 0.02 sendto
25.66 11.19 4.55 881028 0.01 0.01 poll
20.19 14.77 3.58 439050 0.01 0.01 recv
Not it is about 23 000/sec probably due to higher system overhead.
I don't think it could affect this case because recieve queue is
drained from softirq which is run when syscall returns to userspace.
So that is should not be bound to scheculer timing (as I both send
and recieve from single process).
Martin
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: sendto syscall is slow
2001-10-16 12:45 ` sendto syscall is slow Martin Devera
2001-10-16 13:00 ` Martin Dalecki
@ 2001-10-16 15:59 ` Francois Romieu
2001-10-16 16:08 ` Ref: zerocopy +netfilter performance problem Ravi Chamarti
2001-10-16 16:15 ` sendto syscall is slow Martin Devera
1 sibling, 2 replies; 19+ messages in thread
From: Francois Romieu @ 2001-10-16 15:59 UTC (permalink / raw)
To: Martin Devera; +Cc: linux-kernel
Martin Devera <devik@cdi.cz> :
[sendto/recv profile]
> Is there any faster way to force raw packets to kernel ? I need
> to push qos discipline to its edge but I can't because send
> syscall is bottleneck.
> Is it possible to tx multiple packets in sinhle call or should
> I extend kernel myself for this testing purpose ?
Do you have the same profile for sendto when Rx/Tx isn't short
connected ?
You may consider polling for Tx/Rx completion in the Tx path at the
driver level. If your cpu isn't too much powered it will make
a difference.
--
Ueimor
^ permalink raw reply [flat|nested] 19+ messages in thread
* Ref: zerocopy +netfilter performance problem.
2001-10-16 15:59 ` Francois Romieu
@ 2001-10-16 16:08 ` Ravi Chamarti
2001-10-16 16:15 ` sendto syscall is slow Martin Devera
1 sibling, 0 replies; 19+ messages in thread
From: Ravi Chamarti @ 2001-10-16 16:08 UTC (permalink / raw)
To: linux-kernel
Hi all.
I am kind of new to this forum and am not sure whether
to pose this question in linux-kernel or linux-net
I am using linux kernel 2.4.4 and having performance
problem using zerocopy code and netfilter code in the
kernel.
I have been using zerocopy path through network stack
and things are going fine with that. Until I tried
enabling netfilter support in the kernel. The way I am
using zerocopy code is by passing kernel physical
pages directly to tcp_sendpage and letting network
code and NIC do the rest.
I enabled only network packet filter option inorder to
register my own nf_hook. I haven't enabled other
options like netfitler debugging/socket
filtering/conntrack/iptables/ipchains compt.
Idea is to register my hook and do a little work with
the packet header but not with the data. I do have one
small hook which just return NF_ACCEPT and do nothing
with the packet.
I am not intending to use any netfilter hooks for
zerocopy path, however would like to use netfiler
hooks for some non-zerocopy path traffic.
What I see that a skb with frag list is getting copied
in the netfilter hook call (nf_hook_slow) ( I guess
skb_linearize routine is remapping all physical pages
and copies into a kernel buffer).
My question is that is this copy is required for
netfilter to work? Do we somehow get around
with netfilter to work such that the zerocopy path
passes the packet without any copy?
Thanks
Ravi Chamarti.
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: sendto syscall is slow
2001-10-16 15:59 ` Francois Romieu
2001-10-16 16:08 ` Ref: zerocopy +netfilter performance problem Ravi Chamarti
@ 2001-10-16 16:15 ` Martin Devera
2001-10-16 17:02 ` Francois Romieu
1 sibling, 1 reply; 19+ messages in thread
From: Martin Devera @ 2001-10-16 16:15 UTC (permalink / raw)
To: Francois Romieu; +Cc: linux-kernel
> Do you have the same profile for sendto when Rx/Tx isn't short
> connected ?
I have not. I have only one computer and one 100Mbit eth card
at home. But I've got the same results when I used loopback
driver.
But without loopback wires it goes like this:
41.03 4.34 4.34 478200 0.01 0.01 sendto
29.52 7.46 3.12 481389 0.01 0.01 poll
14.70 9.02 1.55 478200 0.00 0.00 setsockopt
> You may consider polling for Tx/Rx completion in the Tx path at the
> driver level. If your cpu isn't too much powered it will make
> a difference.
Are you speaking about rewriting nic driver ? Like try to drain
waiting packet from nic's memory while enqueuing new one ?
IMHO the bottleneck will be probably in send syscall (probably
syscall overhead).
I'm thinking about hack which will allow me to send() large
buffer and kernel code will break it into smaller ones and
device_queue_xmit them at once.
devik
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: sendto syscall is slow
2001-10-16 16:15 ` sendto syscall is slow Martin Devera
@ 2001-10-16 17:02 ` Francois Romieu
2001-10-16 17:11 ` Martin Devera
0 siblings, 1 reply; 19+ messages in thread
From: Francois Romieu @ 2001-10-16 17:02 UTC (permalink / raw)
To: Martin Devera; +Cc: Francois Romieu, linux-kernel
Martin Devera <devik@cdi.cz> :
[...]
> Are you speaking about rewriting nic driver ? Like try to drain
> waiting packet from nic's memory while enqueuing new one ?
Partly: simply disabling Rx/Tx interrupt and checking for ack
in buffers descriptor during hard_start_xmit. The profile for
loopback shows your problem is not here however. :o(
--
Ueimor
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: sendto syscall is slow
2001-10-16 17:02 ` Francois Romieu
@ 2001-10-16 17:11 ` Martin Devera
0 siblings, 0 replies; 19+ messages in thread
From: Martin Devera @ 2001-10-16 17:11 UTC (permalink / raw)
To: Francois Romieu; +Cc: linux-kernel
> Martin Devera <devik@cdi.cz> :
> [...]
> > Are you speaking about rewriting nic driver ? Like try to drain
> > waiting packet from nic's memory while enqueuing new one ?
>
> Partly: simply disabling Rx/Tx interrupt and checking for ack
> in buffers descriptor during hard_start_xmit. The profile for
> loopback shows your problem is not here however. :o(
I just found that PF_SOCKET can be mmaped to improve reads.
Only I can't found docs how to use the functionality ..
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2001-10-16 17:10 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-13 18:26 2.4.13pre2aa1 Andrea Arcangeli
2001-10-15 17:31 ` new VM: what is classzone ? Martin Devera
2001-10-15 18:11 ` How many versions of VM are there? M. Edward (Ed) Borasky
2001-10-15 20:58 ` Slo Mo Snail
2001-10-15 21:15 ` Mike Fedyk
2001-10-15 22:24 ` Tim Moore
2001-10-15 22:29 ` Mike Fedyk
2001-10-15 22:41 ` Gerhard Mack
2001-10-16 11:23 ` snpe
2001-10-16 10:39 ` Very old kernel Kirill Ratkin
2001-10-16 13:30 ` David Weinehall
2001-10-16 12:45 ` sendto syscall is slow Martin Devera
2001-10-16 13:00 ` Martin Dalecki
2001-10-16 13:56 ` Martin Devera
2001-10-16 15:59 ` Francois Romieu
2001-10-16 16:08 ` Ref: zerocopy +netfilter performance problem Ravi Chamarti
2001-10-16 16:15 ` sendto syscall is slow Martin Devera
2001-10-16 17:02 ` Francois Romieu
2001-10-16 17:11 ` Martin Devera
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox