Message from discussion
regarding locks in shared caches
Received: by 10.213.110.15 with SMTP id l15mr167790ebp.22.1334222675115;
Thu, 12 Apr 2012 02:24:35 -0700 (PDT)
X-BeenThere: snipersim@googlegroups.com
Received: by 10.213.2.196 with SMTP id 4ls358299ebk.4.gmail; Thu, 12 Apr 2012
02:24:34 -0700 (PDT)
Received: by 10.14.47.80 with SMTP id s56mr346816eeb.6.1334222674712;
Thu, 12 Apr 2012 02:24:34 -0700 (PDT)
Received: by 10.14.47.80 with SMTP id s56mr346815eeb.6.1334222674696;
Thu, 12 Apr 2012 02:24:34 -0700 (PDT)
Return-Path: <wim.heir...@gmail.com>
Received: from mail-ey0-f170.google.com (mail-ey0-f170.google.com [209.85.215.170])
by gmr-mx.google.com with ESMTPS id y52si5246227eef.2.2012.04.12.02.24.34
(version=TLSv1/SSLv3 cipher=OTHER);
Thu, 12 Apr 2012 02:24:34 -0700 (PDT)
Received-SPF: pass (google.com: domain of wim.heir...@gmail.com designates 209.85.215.170 as permitted sender) client-ip=209.85.215.170;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of wim.heir...@gmail.com designates 209.85.215.170 as permitted sender) smtp.mail=wim.heir...@gmail.com; dkim=pass header...@gmail.com
Received: by eaao10 with SMTP id o10so385860eaa.29
for <snipersim@googlegroups.com>; Thu, 12 Apr 2012 02:24:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:sender:in-reply-to:references:from:date
:x-google-sender-auth:message-id:subject:to:content-type
:content-transfer-encoding;
bh=2l5mCeKdjJ5XPXDstzyh/pnUUTG+odzhatZi7bQWcuI=;
b=0Yl9gLZoE/7WHwihXux41ipVbPmJCteZT8gGU7byU0a/BY2O+QWlV0VgssehonLS3O
rS4NT+ehGSX423sq4TOOppQp3FCKMYZMOUiVi6cSeYvpc+YbPH7vOVIbxASshT95Va1L
y7M37Fo7R6lTli9P3JM/LL6mQ3s5QT3xi/v4KKgaEmPU9Xq38iJAVdM7kfveSUxKu8zo
vrQgumRg17UrBj8hPrHhQCFbhx0eazOrJ3VtifZ71ZVmHSZ6KKOoGnYosntBsEIi0Qe8
FVgIxjEynXSuTXrYuoJqNMeFcboavm6zCdHIdyON81tzyfknOGLpE5R6oGbSOUnYtXaR
+bQw==
Received: by 10.213.35.140 with SMTP id p12mr131106ebd.257.1334222674473; Thu,
12 Apr 2012 02:24:34 -0700 (PDT)
MIME-Version: 1.0
Sender: wim.heir...@gmail.com
Received: by 10.213.33.197 with HTTP; Thu, 12 Apr 2012 02:24:14 -0700 (PDT)
In-Reply-To: <CAF9M4ZhzjpBExoh5sTBivEt+suR6qtk9HS76XVTxSy+2QB8...@mail.gmail.com>
References: <CAF9M4ZhzCzaXgfifW1ojSJPaT_qQm-VTVSUseURpLkSi3on...@mail.gmail.com>
<CALGf=fG1kbE90-LHNbpr9sEZ5JfUQrCE0z7jKgevHKO+xCf...@mail.gmail.com>
<CAF9M4ZinheiEa-5EuLGV2QO4F+DmF7RtbcYhVkN3VNE+jBz...@mail.gmail.com>
<CAF9M4Zhc-zD1=_Xk=g+Te5pjT-OBEz8QBTxtxHAs7YNxvPm...@mail.gmail.com>
<CALGf=fFw3LrvxPoxGq4C3wYG-L9Fs9HEyQYZJ9ihrOqGidj...@mail.gmail.com>
<CAF9M4Zh_4SwQDXDwTw-mUmWYzS=wBy_1M-8eptbntaLid+B...@mail.gmail.com>
<CALGf=fEQ4QBY717KfDmg7-gaCWybmJiUTQqb8gFyPhXi28h...@mail.gmail.com>
<CAF9M4ZgOJwSKUvwnzkxHpCTKjiv2zQwp1GGKFhRJuBjd-c+...@mail.gmail.com>
<CALGf=fH2dG=XAwoc-4fhFOXzh51=cMMJJfTr840Wr6vrGe0...@mail.gmail.com> <CAF9M4ZhzjpBExoh5sTBivEt+suR6qtk9HS76XVTxSy+2QB8...@mail.gmail.com>
From: Wim Heirman <w...@heirman.net>
Date: Thu, 12 Apr 2012 11:24:14 +0200
Message-ID: <CALGf=fG8ZCJkxwOkXV0omPpg3FHhj_xyUPafdyy0yKX2ZXQ...@mail.gmail.com>
Subject: Re: [snipersim] regarding locks in shared caches
To: snipersim@googlegroups.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Sparsh,
If you can send me a diff of the changes you made (you can mail it to
me directly), I can take a look at what might be going wrong.
Regards,
Wim
On 11 April 2012 20:36, sparsh mittal <sparsh0mit...@gmail.com> wrote:
> Thanks for your explanations and answers. I have one clarification to see=
k
> (inline)
>
>>
>> It looks like you're sending this message for a line that you're not
>> supposed to have, or maybe to the wrong DRAM controller. What you're
>> doing (if I understand it correctly at least) is the same as when a
>> dirty line is evicted, take a look at cache_cntlr.cc starting at line
>> 938 which does exactly that.
>>
>>
>
> Yes, I am trying to writeback dirty=A0and clean(shared)=A0lines. =A0For d=
irty, the
> code I already sent is used (line 938). For clean, else part of 938 (whic=
h
> is 952) is used. However, I am surprised, since=A0with shared-L2, I shoul=
d
> have only one DRAM controller, so how can it be 'wrong dram' controller?
> Also, while removing lines from L2 cache, I am taking care of updating in
> previous levels (inside locking), cloning block info and also
> m_cache_sharers; still Assertion `! this->m_sharers[sharer_id]' failed er=
ror
> comes.
> Can you please give some more directions. Thanks a lot for your time.
>
> Sparsh
>
> --
> --
> You received this message because you are subscribed to the Google
> Groups "Sniper simulator" group.
> To post to this group, send email to snipersim@googlegroups.com
> To unsubscribe from this group, send email to
> snipersim+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/snipersim?hl=3Den