[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fkt-devel] performance issues in fxt
From: |
François Trahay |
Subject: |
Re: [Fkt-devel] performance issues in fxt |
Date: |
Thu, 25 Aug 2011 17:40:45 +0200 |
User-agent: |
KMail/1.13.7 (Linux/3.0.0-1-amd64; KDE/4.6.5; x86_64; ; ) |
On Thursday 25 August 2011 17:23:23 Samuel Thibault wrote:
> François Trahay, le Thu 25 Aug 2011 17:19:53 +0200, a écrit :
> > Actually fxt_next_ev calls 'read' several times, leading to a large
> > overhead. I managed to modify it so it reads 4KB blocks (reducing the
> > number of calls to read and thus the total overhead) and the performance
> > increases a lot: each call to fxt_next_ev now cost approx 200ns.
>
> Mmm, shouldn't we be able to simply use fread & co instead of read & co?
>
> Samuel
Well, we could reduce the number of calls to read to 2, but I think the impact
on performance would be low (let's says that instead of 2µs per call to
fxt_next_ev, we'd have 1.8µs).
I'll try and check the actual performance.
François
- [Fkt-devel] performance issues in fxt, François Trahay, 2011/08/25
- Re: [Fkt-devel] performance issues in fxt, Samuel Thibault, 2011/08/25
- Re: [Fkt-devel] performance issues in fxt,
François Trahay <=
- Re: [Fkt-devel] performance issues in fxt, Samuel Thibault, 2011/08/26
- Re: [Fkt-devel] performance issues in fxt, François Trahay, 2011/08/26
- Re: [Fkt-devel] performance issues in fxt, Vincent Danjean, 2011/08/26
- Re: [Fkt-devel] performance issues in fxt, François Trahay, 2011/08/26
- Re: [Fkt-devel] performance issues in fxt, Samuel Thibault, 2011/08/26