Re: [Gems-users] Backoff code in LogTM


Date: Mon, 09 Mar 2009 17:07:24 +0200
From: Konstantinos Nikas <knikas@xxxxxxxxxxxxxxxxx>
Subject: Re: [Gems-users] Backoff code in LogTM
Mohammad Momin Ansari wrote:
Hi,

I'm interested in investigating contention management in HTMs. I've got Simics 3.0 and GEMS 2.1 working, and I've started looking through the LogTM code. I think the backoff code in ruby/logtm/TransactionInterfaceManager.c:733-739 should be at the end of restartTransactionCallback(), and not where it is at the moment. Does this sound correct to experienced users of LogTM?

Thanks,

Hi Mohammad,

I may be wrong but I 'll risk an answer. The backoff call you are mentioning is for XACT_LAZY_VM, and thus not for "pure" LogTM. The backoff call for LogTM is inside the software handler, which you can find in

microbenchmarks/transactional/common/transaction.c

at the end of tm_log_unroll function.

Hopefully, someone can confirm this.

Kind regards,

Kostis
[← Prev in Thread] Current Thread [Next in Thread→]