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

RE: [Xen-devel] debug logging in windows



> On 23/11/08 12:32, "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
wrote:
> 
> > The only change I'd like to make is one that I did in my own version
> > which is to keep separate log buffers per io port (with the intent
that
> > each DomU CPU writes to a different port), as I was finding the log
> > messages from different CPU's writing at the same time causing
garbled
> > messages. Synchronising access to the io port between different
drivers
> > in windows would require a heap of overhead.
> 
> Significant overhead compared with trapping to ioemu for every byte
> transmitted?
> 

Not so much performance overhead, but code overhead in terms of
providing a synchronisation mechanism between all the bits of code that
might actually write debug output. Under Linux it's easy enough to
export a global spinlock to everything, but it's not so easy under
Windows.

James

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.