From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: "No probed ethernet devices" caused by inaccurate msec_delay() Date: Tue, 28 Jan 2014 10:13:09 -0800 Message-ID: <20140128101309.639a1b88@nehalam.linuxnetplumber.net> References: <201401271019.00293.thomas.monjalon@6wind.com> <201401281723.22155.thomas.monjalon@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Thomas Monjalon Return-path: In-Reply-To: <201401281723.22155.thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" TSC has lots of platform related issues. It is not guaranteed sync'd across physical packages and AMD boxes have lots of problems. Why does delay_ms not just use nanosleep() and let the OS worry about it? On a related note, I have found that putting the worker (non master) threads into real time scheduling class also helps.