On Tue, Feb 28, 2006 at 11:20:24AM -0800, Bryan O'Sullivan wrote: > So if we just use wmb(), we incur a 16-cycle penalty on every packet we > send. This has a deleterious and measurable effect on performance. sfence doesn't guarantee that the write will be flushed, especially if the chipset gets involved. The only way to do that is the same way any pci write can be flushed, which is to read from a register on the device in question. -ben -- "Ladies and gentlemen, I'm sorry to interrupt, but the police are here and they've asked us to stop the party." Don't Email: <[email protected]>. - 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/
- References:
- [PATCH] Define wc_wmb, a write barrier for PCI write combining
- From: "Bryan O'Sullivan" <[email protected]>
- Re: [PATCH] Define wc_wmb, a write barrier for PCI write combining
- From: Benjamin LaHaise <[email protected]>
- Re: [PATCH] Define wc_wmb, a write barrier for PCI write combining
- From: "Bryan O'Sullivan" <[email protected]>
- Re: [PATCH] Define wc_wmb, a write barrier for PCI write combining
- From: Benjamin LaHaise <[email protected]>
- Re: [PATCH] Define wc_wmb, a write barrier for PCI write combining
- From: "Bryan O'Sullivan" <[email protected]>
- Re: [PATCH] Define wc_wmb, a write barrier for PCI write combining
- From: Benjamin LaHaise <[email protected]>
- Re: [PATCH] Define wc_wmb, a write barrier for PCI write combining
- From: "Bryan O'Sullivan" <[email protected]>
- Re: [PATCH] Define wc_wmb, a write barrier for PCI write combining
- From: Benjamin LaHaise <[email protected]>
- Re: [PATCH] Define wc_wmb, a write barrier for PCI write combining
- From: "Bryan O'Sullivan" <[email protected]>
- [PATCH] Define wc_wmb, a write barrier for PCI write combining
- Prev by Date: Re: + fix-next_timer_interrupt-for-hrtimer.patch added to -mm tree
- Next by Date: usb usb5: Manufacturer: Linux 2.6.16-rc5-mm1 ehci_hcd
- Previous by thread: Re: [PATCH] Define wc_wmb, a write barrier for PCI write combining
- Next by thread: Re: [PATCH] Define wc_wmb, a write barrier for PCI write combining
- Index(es):