All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] TCG Multithreading performance improvement
@ 2014-11-26  9:31 Mark Burton
  2014-11-26 14:06 ` Peter Maydell
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Mark Burton @ 2014-11-26  9:31 UTC (permalink / raw)
  To: qemu-devel, Paolo Bonzini, Pavel Dovgaluk; +Cc: Alexander Graf

[-- Attachment #1: Type: text/plain, Size: 851 bytes --]



Hi all,

We are now actively going to pursue TCG Multithreading to improve the performance of the TCG for Qemu models that include multiple cores.

We have set up a wiki page to track the project 
http://wiki.qemu.org/Features/tcg-multithread <http://wiki.qemu.org/Features/tcg-multithread>

At this point, I would like to invite everybody to email us ideas about how the project should progress, and ideas that might be useful (e.g. people who have tried this before, source code that might be helpful, what order we should attack things in etc)…

So - PLEASE let us know if you have interest in this topic, or information that might help

Cheers

Mark.





	 +44 (0)20 7100 3485 x 210
 +33 (0)5 33 52 01 77x 210

	+33 (0)603762104
	mark.burton
 <applewebdata://F8F64FAD-C546-4A57-9A23-8401E9D994E0/www.greensocs.com>

[-- Attachment #2: Type: text/html, Size: 2524 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] TCG Multithreading performance improvement
  2014-11-26  9:31 [Qemu-devel] TCG Multithreading performance improvement Mark Burton
@ 2014-11-26 14:06 ` Peter Maydell
  2014-11-26 14:23   ` Claudio Fontana
  2014-11-26 16:11 ` Alex Bennée
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: Peter Maydell @ 2014-11-26 14:06 UTC (permalink / raw)
  To: Mark Burton; +Cc: Paolo Bonzini, qemu-devel, Pavel Dovgaluk, Alexander Graf

On 26 November 2014 at 09:31, Mark Burton <mark.burton@greensocs.com> wrote:
> We have set up a wiki page to track the project
> http://wiki.qemu.org/Features/tcg-multithread

I see you write "The TCG today is close to being thread safe".
Personally I would phrase this as "TCG today is not at all
thread safe" :-)

-- PMM

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] TCG Multithreading performance improvement
  2014-11-26 14:06 ` Peter Maydell
@ 2014-11-26 14:23   ` Claudio Fontana
  0 siblings, 0 replies; 7+ messages in thread
From: Claudio Fontana @ 2014-11-26 14:23 UTC (permalink / raw)
  To: Peter Maydell, Mark Burton
  Cc: Paolo Bonzini, qemu-devel, Pavel Dovgaluk, Alexander Graf

On 26.11.2014 15:06, Peter Maydell wrote:
> On 26 November 2014 at 09:31, Mark Burton <mark.burton@greensocs.com> wrote:
>> We have set up a wiki page to track the project
>> http://wiki.qemu.org/Features/tcg-multithread
> 
> I see you write "The TCG today is close to being thread safe".
> Personally I would phrase this as "TCG today is not at all
> thread safe" :-)
> 
> -- PMM
> 

Always nitpicking.. :-)

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] TCG Multithreading performance improvement
  2014-11-26  9:31 [Qemu-devel] TCG Multithreading performance improvement Mark Burton
  2014-11-26 14:06 ` Peter Maydell
@ 2014-11-26 16:11 ` Alex Bennée
  2014-11-26 18:04 ` Chih-Min Chao
  2014-11-26 19:12 ` Lluís Vilanova
  3 siblings, 0 replies; 7+ messages in thread
From: Alex Bennée @ 2014-11-26 16:11 UTC (permalink / raw)
  To: Mark Burton; +Cc: Paolo Bonzini, qemu-devel, Pavel Dovgaluk, Alexander Graf


Mark Burton <mark.burton@greensocs.com> writes:

> Hi all,
>
> We are now actively going to pursue TCG Multithreading to improve the performance of the TCG for Qemu models that include multiple cores.
>
> We have set up a wiki page to track the project 
> http://wiki.qemu.org/Features/tcg-multithread <http://wiki.qemu.org/Features/tcg-multithread>
>
> At this point, I would like to invite everybody to email us ideas about how the project should progress, and ideas that might be useful (e.g. people who have tried this before, source code that might be helpful, what order we should attack things in etc)…
>
> So - PLEASE let us know if you have interest in this topic, or
> information that might help

I've added some *incomplete* notes to the wiki page. I'm also happy to
get involved and help with design and code review.

-- 
Alex Bennée

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] TCG Multithreading performance improvement
  2014-11-26  9:31 [Qemu-devel] TCG Multithreading performance improvement Mark Burton
  2014-11-26 14:06 ` Peter Maydell
  2014-11-26 16:11 ` Alex Bennée
@ 2014-11-26 18:04 ` Chih-Min Chao
  2014-11-26 19:12 ` Lluís Vilanova
  3 siblings, 0 replies; 7+ messages in thread
From: Chih-Min Chao @ 2014-11-26 18:04 UTC (permalink / raw)
  To: Mark Burton; +Cc: Paolo Bonzini, qemu-devel, Pavel Dovgaluk, Alexander Graf

[-- Attachment #1: Type: text/plain, Size: 1046 bytes --]

Another good slide for PQemu
http://people.cs.nctu.edu.tw/~chenwj/slide/QEMU/PQEMU_presentation_(IIS_Sinica_2)_.pptx

On Wed, Nov 26, 2014 at 5:31 PM, Mark Burton <mark.burton@greensocs.com>
wrote:

>
>
> Hi all,
>
> We are now actively going to pursue TCG Multithreading to improve the
> performance of the TCG for Qemu models that include multiple cores.
>
> We have set up a wiki page to track the project
> http://wiki.qemu.org/Features/tcg-multithread
>
> At this point, I would like to invite everybody to email us ideas about
> how the project should progress, and ideas that might be useful (e.g.
> people who have tried this before, source code that might be helpful, what
> order we should attack things in etc)…
>
> So - PLEASE let us know if you have interest in this topic, or information
> that might help
>
> Cheers
>
> Mark.
>
>
>
>
>
> ------------------------------
>  +44 (0)20 7100 3485 x 210
>  +33 (0)5 33 52 01 77x 210
>
> +33 (0)603762104mark.burton <http://www.greensocs.com>
>
>

[-- Attachment #2: Type: text/html, Size: 2735 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] TCG Multithreading performance improvement
  2014-11-26  9:31 [Qemu-devel] TCG Multithreading performance improvement Mark Burton
                   ` (2 preceding siblings ...)
  2014-11-26 18:04 ` Chih-Min Chao
@ 2014-11-26 19:12 ` Lluís Vilanova
  2014-11-26 19:21   ` Mark Burton
  3 siblings, 1 reply; 7+ messages in thread
From: Lluís Vilanova @ 2014-11-26 19:12 UTC (permalink / raw)
  To: Mark Burton; +Cc: Paolo Bonzini, qemu-devel, Pavel Dovgaluk, Alexander Graf

Mark Burton writes:

> Hi all,
> We are now actively going to pursue TCG Multithreading to improve the
> performance of the TCG for Qemu models that include multiple cores.

> We have set up a wiki page to track the project 
> http://wiki.qemu.org/Features/tcg-multithread

> At this point, I would like to invite everybody to email us ideas about how the
> project should progress, and ideas that might be useful (e.g. people who have
> tried this before, source code that might be helpful, what order we should
> attack things in etc)…

> So - PLEASE let us know if you have interest in this topic, or information that
> might help

This is great news! I've added a new subsection on the wiki to hold some
problems that should be kept in mind while designing a solution.

For now, I've added memory consistency and instruction atomicity issues in it.


Best,
  Lluis

-- 
 "And it's much the same thing with knowledge, for whenever you learn
 something new, the whole world becomes that much richer."
 -- The Princess of Pure Reason, as told by Norton Juster in The Phantom
 Tollbooth

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] TCG Multithreading performance improvement
  2014-11-26 19:12 ` Lluís Vilanova
@ 2014-11-26 19:21   ` Mark Burton
  0 siblings, 0 replies; 7+ messages in thread
From: Mark Burton @ 2014-11-26 19:21 UTC (permalink / raw)
  To: Lluís Vilanova
  Cc: Paolo Bonzini, qemu-devel, Pavel Dovgaluk, Alexander Graf


> On 26 Nov 2014, at 20:12, Lluís Vilanova <vilanova@ac.upc.edu> wrote:
> 
> Mark Burton writes:
> 
>> Hi all,
>> We are now actively going to pursue TCG Multithreading to improve the
>> performance of the TCG for Qemu models that include multiple cores.
> 
>> We have set up a wiki page to track the project 
>> http://wiki.qemu.org/Features/tcg-multithread
> 
>> At this point, I would like to invite everybody to email us ideas about how the
>> project should progress, and ideas that might be useful (e.g. people who have
>> tried this before, source code that might be helpful, what order we should
>> attack things in etc)…
> 
>> So - PLEASE let us know if you have interest in this topic, or information that
>> might help
> 
> This is great news! I've added a new subsection on the wiki to hold some
> problems that should be kept in mind while designing a solution.
> 
> For now, I've added memory consistency and instruction atomicity issues in it.

Thanks !  - Those are the two big issues I think :-)))


Cheers

Mark.

> 
> 
> Best,
>  Lluis
> 
> -- 
> "And it's much the same thing with knowledge, for whenever you learn
> something new, the whole world becomes that much richer."
> -- The Princess of Pure Reason, as told by Norton Juster in The Phantom
> Tollbooth


	 +44 (0)20 7100 3485 x 210
 +33 (0)5 33 52 01 77x 210

	+33 (0)603762104
	mark.burton

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-11-26 19:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-26  9:31 [Qemu-devel] TCG Multithreading performance improvement Mark Burton
2014-11-26 14:06 ` Peter Maydell
2014-11-26 14:23   ` Claudio Fontana
2014-11-26 16:11 ` Alex Bennée
2014-11-26 18:04 ` Chih-Min Chao
2014-11-26 19:12 ` Lluís Vilanova
2014-11-26 19:21   ` Mark Burton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.