Re: [Qemu-devel] [RFC 00/10] MultiThread TCG.

2015-04-28 Thread Emilio G. Cota
On Tue, Apr 28, 2015 at 11:06:37 +0200, Paolo Bonzini wrote: > On 27/04/2015 19:06, Emilio G. Cota wrote: > > Note that I'm running with -smp 1. My guess is that the iothread > > is starved, since patch 472f4003 "Drop global lock during TCG code > > execution" > > removes from the iothread the abi

Re: [Qemu-devel] [RFC 00/10] MultiThread TCG.

2015-04-28 Thread Paolo Bonzini
On 27/04/2015 19:06, Emilio G. Cota wrote: > Note that I'm running with -smp 1. My guess is that the iothread > is starved, since patch 472f4003 "Drop global lock during TCG code execution" > removes from the iothread the ability to kick CPU threads. In theory that shouldn't be necessary anymore

Re: [Qemu-devel] [RFC 00/10] MultiThread TCG.

2015-04-28 Thread Frederic Konrad
Hi Emilio, On 27/04/2015 19:06, Emilio G. Cota wrote: Hi Fred, On Wed, Apr 22, 2015 at 14:26:14 +0200, Frederic Konrad wrote: git clone g...@git.greensocs.com:fkonrad/mttcg.git -b multi_tcg_v4 I've tried to run buildroot's vexpress-a9 with this, but unfortunately it gets stuck before showing

Re: [Qemu-devel] [RFC 00/10] MultiThread TCG.

2015-04-27 Thread Emilio G. Cota
Hi Fred, On Wed, Apr 22, 2015 at 14:26:14 +0200, Frederic Konrad wrote: > git clone g...@git.greensocs.com:fkonrad/mttcg.git -b multi_tcg_v4 I've tried to run buildroot's vexpress-a9 with this, but unfortunately it gets stuck before showing much progress towards boot: [ messages in brackets are m

Re: [Qemu-devel] [RFC 00/10] MultiThread TCG.

2015-04-27 Thread Frederic Konrad
On 23/04/2015 17:46, Alex Bennée wrote: Alex Bennée writes: Frederic Konrad writes: Does that makes sense? BTW here is the repository: git clone g...@git.greensocs.com:fkonrad/mttcg.git -b multi_tcg_v4 Is there a non-authenticated read-only http or git:// access to this repo? I should

Re: [Qemu-devel] [RFC 00/10] MultiThread TCG.

2015-04-23 Thread Alex Bennée
Alex Bennée writes: > Frederic Konrad writes: > >> >> Does that makes sense? >> >> BTW here is the repository: >> git clone g...@git.greensocs.com:fkonrad/mttcg.git -b multi_tcg_v4 > > Is there a non-authenticated read-only http or git:// access to this repo? I should have done some poking fi

Re: [Qemu-devel] [RFC 00/10] MultiThread TCG.

2015-04-23 Thread Alex Bennée
Frederic Konrad writes: > On 10/04/2015 18:03, Frederic Konrad wrote: >> On 30/03/2015 23:46, Peter Maydell wrote: >>> On 30 March 2015 at 07:52, Mark Burton >>> wrote: So - Fred is unwilling to send the patch set as it stands, because frankly this part is totally broken.

Re: [Qemu-devel] [RFC 00/10] MultiThread TCG.

2015-04-23 Thread Frederic Konrad
On 22/04/2015 15:18, Peter Maydell wrote: On 22 April 2015 at 13:26, Frederic Konrad wrote: [re summary of design] Does that makes sense? Oops, I think that I lost that email in the flow of stuff through the mailing list. I think Alex is going to be doing the bulk of the review on this for Lin

Re: [Qemu-devel] [RFC 00/10] MultiThread TCG.

2015-04-22 Thread Peter Maydell
On 22 April 2015 at 13:26, Frederic Konrad wrote: [re summary of design] > Does that makes sense? Oops, I think that I lost that email in the flow of stuff through the mailing list. I think Alex is going to be doing the bulk of the review on this for Linaro, so I'll let him have a look at it :-)

Re: [Qemu-devel] [RFC 00/10] MultiThread TCG.

2015-04-22 Thread Frederic Konrad
On 10/04/2015 18:03, Frederic Konrad wrote: On 30/03/2015 23:46, Peter Maydell wrote: On 30 March 2015 at 07:52, Mark Burton wrote: So - Fred is unwilling to send the patch set as it stands, because frankly this part is totally broken. There is an independent patch set that needs splitting o

Re: [Qemu-devel] [RFC 00/10] MultiThread TCG.

2015-03-30 Thread Mark Burton
understood. Cheers Mark. > On 30 Mar 2015, at 23:46, Peter Maydell wrote: > > On 30 March 2015 at 07:52, Mark Burton wrote: >> So - Fred is unwilling to send the patch set as it stands, because frankly >> this part is totally broken. >> >> There is an independent patch set that needs splittin

Re: [Qemu-devel] [RFC 00/10] MultiThread TCG.

2015-03-30 Thread Peter Maydell
On 30 March 2015 at 07:52, Mark Burton wrote: > So - Fred is unwilling to send the patch set as it stands, because frankly > this part is totally broken. > > There is an independent patch set that needs splitting out which deals with > just the atomic instruction issue - specifically for ARM (th

Re: [Qemu-devel] [RFC 00/10] MultiThread TCG.

2015-03-29 Thread Mark Burton
to add some detail, Unfortunately Fred is away this week, so we won’t get this patch set to you ask quickly as I’d have liked. We have a ‘working’ implementation - where ‘working’ is limited to a couple of SMP cores, booting and running Dhrystone. The performance improvement we get is close to

Re: [Qemu-devel] [RFC 00/10] MultiThread TCG.

2015-03-27 Thread Frederic Konrad
Hi, Yes a v2 will come soon. Actually I'm trying to unbreak GDB stub and a strange segfault with smp > 2. Fred On 27/03/2015 11:08, Alex Bennée wrote: fred.kon...@greensocs.com writes: From: KONRAD Frederic Hi everybody, This is the start of our work on TCG multithread. It's been a while

Re: [Qemu-devel] [RFC 00/10] MultiThread TCG.

2015-03-27 Thread Alex Bennée
fred.kon...@greensocs.com writes: > From: KONRAD Frederic > > Hi everybody, > > This is the start of our work on TCG multithread. It's been a while since the first RFC are we likely to see a v2 of the patch series any time soon? > > We send it for comment to be sure we are taking the right dir