From: Alexander Graf <agraf@suse.de>
To: Stefan Hajnoczi <stefanha@gmail.com>, Xin Tong <trent.tong@gmail.com>
Cc: David Gibson <david@gibson.dropbear.id.au>,
QEMU Developers <qemu-devel@nongnu.org>,
Richard Henderson <rth@twiddle.net>
Subject: Re: [Qemu-devel] GSOC 2015 Project Proposal
Date: Wed, 18 Mar 2015 15:16:33 +0100 [thread overview]
Message-ID: <550988C1.1040504@suse.de> (raw)
In-Reply-To: <CAJSP0QVd+2MpZkReOJzV-t8eQ22dC_30P6Cc3W5mpwfk4WewjQ@mail.gmail.com>
On 03/18/2015 12:46 PM, Stefan Hajnoczi wrote:
> On Mon, Feb 9, 2015 at 12:44 AM, Xin Tong <trent.tong@gmail.com> wrote:
>> I would like to do GSOC this summer. The project i have in mind is to
>> implement a set of facilities to make implementing Hardware
>> transactional memory (HTM) easier in QEMU.
>>
>> HTM has become available in many architecture supported by QEMU, e.g.
>> i386, PowerPC, etc. Currently, necessary memory tracking. conflict
>> detection and transaction rollbak/commit are not available in QEMU. As
>> a result, HTM is supported in a very rudimentary fashion in PowerPC,
>> i.e. the transaction begins (tbegin in PowerPC) always trigger a fault
>> to the fallback code path. Even though HTM is supported by different
>> architectures, the underlying principle are very similar and therefore
>> it is beneficial to provide a set of facilities to make implementing
>> HTM easier in QEMU.
>>
>> These facilities should include.
>>
>> A modified software TLB to make memory address and value tracking simple.
>> A performant and memory efficient value/address tracking facility to
>> detect read/write conflicts for transactions.
>> A performant and memory efficient mechanism to rollback and commit
>> memory accesses.
>> A mechanism to abort transactions on the current processor as well as
>> remote processor.
>>
>> I will come up with a more detailed proposal as application time draws
>> close. Any suggestions are appreciated at the moment.
> Hi Xin,
> Thanks for proposing this project idea. There haven't been any
> responses yet. I have CCed Alexander Graf and David Gibson, who have
> worked on the PowerPC target, and Richard Henderson in case he's
> interested in transactional memory.
>
> You need to find a mentor willing to supervise this project idea.
> Hopefully bumping this email thread will remind people to consider
> your idea.
I think this would be a very interesting research project, but I'm wary
that the overhead of TLB allocation synchronization with other vcpus
ends up pretty expensive for the normal use case of non-transactional
operation.
I'm also not sure whether GSoC is long enough to actually get to the
point where what you're proposing works. How much experience do you have
in this field?
Alex
prev parent reply other threads:[~2015-03-18 14:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-09 0:44 [Qemu-devel] GSOC 2015 Project Proposal Xin Tong
2015-03-18 11:46 ` Stefan Hajnoczi
2015-03-18 14:16 ` Alexander Graf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=550988C1.1040504@suse.de \
--to=agraf@suse.de \
--cc=david@gibson.dropbear.id.au \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
--cc=stefanha@gmail.com \
--cc=trent.tong@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.