[Barrelfish-users] Deferred event problem...

M Brown M.Brown at huawei.com
Tue Mar 4 20:40:26 CET 2014


Andrew,
   I'm running Barrelfish under QEMU. I'm running the emulation with 4 cores. Enclosed is a simple timer setup in main that I'm loading and running on the four cores:
[cid:image001.png at 01CF37AE.C0555A10]

What I get on the output indicates cores 0 and 2 reporting the one second interval regularly. Core 1 chimes in now-and-then and nothing from core 3:

[cid:image002.png at 01CF37AF.2A43BAC0]

Can you guys try this and see what you get?
Thanks,

Mark Brown
Huawei Technologies Inc.
5340 Legacy Dr., Suite 175
Plano, TX 75024
Tel: 469-277-5700 x5870
Email: m.brown at huawei.com

From: Andrew Baumann [mailto:Andrew.Baumann at microsoft.com]
Sent: Friday, February 28, 2014 3:28 PM
To: M Brown; barrelfish-users at lists.inf.ethz.ch<mailto:barrelfish-users at lists.inf.ethz.ch>
Cc: debashis bhattacharya
Subject: RE: Deferred event problem...

Hi Mark,

This is not a known problem (at least not to me; someone else on the list might know more). Deferred events run off the same per-core timer used by the kernel for scheduling - on x86, this is the local APIC timer. If they don't work on other cores, then I would expect that a lot of scheduling code would also be broken. What platform are you running on? Does this reproduce on Qemu?

Andrew

From: M Brown [mailto:M.Brown at huawei.com]
Sent: Thursday, 27 February 2014 18:15
To: barrelfish-users at lists.inf.ethz.ch<mailto:barrelfish-users at lists.inf.ethz.ch>
Cc: debashis bhattacharya
Subject: [Barrelfish-users] Deferred event problem...

All,
   I'm running into a problem with the deferred event support. I'm running a system with 4 cores. When I attach a periodic deferred event (timer) within core 0 all works well. When I attach one within core 3 it does not fire at all. All deferred events are attached to their respective default waitsets and the "main"s running in each core are running an event loop on the core's respective default waitset. Is there any known problem with this function?
Thanks,

Mark Brown
Huawei Technologies Inc.
5340 Legacy Dr., Suite 175
Plano, TX 75024
Tel: 469-277-5700 x5870
Email: m.brown at huawei.com<mailto:m.brown at huawei.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20140304/f98aebb6/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 26021 bytes
Desc: image001.png
Url : https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20140304/f98aebb6/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 25762 bytes
Desc: image002.png
Url : https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20140304/f98aebb6/attachment-0003.png 


More information about the Barrelfish-users mailing list