tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mpsafe-ing

On 21/03/2017 7:55 PM, Ryota Ozaki wrote:
> On Tue, Mar 21, 2017 at 2:20 AM,  <> wrote:
> ...
>> How to tell if I'm doing things right?
> - Repeat (a) drvctl -d alc0; drvctl -r pci0 or (b) unplug/plug the cable
>   under network loads of (i) IP forwarding or (ii) iperf from/to the host.
> - Run the above trials for several hours continuously

If you're looking to test potential race conditions, a method that I've
used successfully in the past is to use dtrace to insert relatively long
delays in places where a quick return otherwise hides a logic flaw.


Home | Main Index | Thread Index | Old Index