On Mon, 4 Jun 2007 06:35:16 -0700 (PDT) Davide Libenzi <[email protected]> wrote: > On Mon, 4 Jun 2007, Eric Dumazet wrote: > > > You add conditional branches on very hot spots. > > Keep BS for the ones you argue usually, and that are not able to reply. > You *still* two bitmaps, because allocation spaces are far apart. So the > "if" will still be there. I actually read your patches and spent time to see the pros and cons. If you dont need reviewers, please dont post your patches on lkml. If I am not mistaken, you added a test in fget()/fget_light(), which is a known hot point for said huge processes. fget() dont need to access the bitmap at all. Using fd_slots means less (50%) file pointers per cache line. On my machines, there is a ratio of 100/1 in cpu time for fget(),fget_light() against get_unused_fd(). - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core
- From: Davide Libenzi <[email protected]>
- Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core
- References:
- [patch 1/2] ufd v1 - unsequential O(1) fdmap core
- From: Davide Libenzi <[email protected]>
- Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core
- From: Eric Dumazet <[email protected]>
- Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core
- From: Davide Libenzi <[email protected]>
- Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core
- From: Andrew Morton <[email protected]>
- Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core
- From: Ingo Molnar <[email protected]>
- Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core
- From: Ingo Molnar <[email protected]>
- Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core
- From: Andrew Morton <[email protected]>
- Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core
- From: Eric Dumazet <[email protected]>
- Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core
- From: Davide Libenzi <[email protected]>
- Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core
- From: Eric Dumazet <[email protected]>
- Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core
- From: Davide Libenzi <[email protected]>
- [patch 1/2] ufd v1 - unsequential O(1) fdmap core
- Prev by Date: Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core
- Next by Date: Re: hisax isdn card (Sedlbauer Speed Fax+) does not get an interrupt
- Previous by thread: Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core
- Next by thread: Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core
- Index(es):