Hi Andreas Thanks for your response. It is more clear to me now.
Best regards Azadeh On Sun, Jan 25, 2015 at 10:23 PM, Andreas Hansson <[email protected]> wrote: > Hi Azadeh, > > I think you’ve gotten the wrong end of the stick here. In general you > cannot make assumptions about a packet size. > > The core will only touch a few bytes at a time, depending on the ISA. > Thus, the core interacts with the L1 caches on a sub-cacheline granularity, > depending on what instructions are being executed. > > A generic packet in the memory system can have any arbitrary size, but > most of them will be cache-line sized (in a system with caches). > > Andreas > > From: Azadeh Shirvanian <[email protected]> > Date: Sunday, 25 January 2015 21:04 > To: Hamid Reza Khaleghzadeh <[email protected]>, "[email protected]" > <[email protected]> > Cc: Andreas Hansson <[email protected]> > Subject: Re: [gem5-users] Cache line size > > Hello Hamid > > Thanks for your reply. So each block has 64 bytes. > > In the following link, Ali and Andreas have written that the underlying > data could be 1-16 bytes based on size: > > http://qa.gem5.org/1097/problem-extracting-the-data-being-exchanged-between-cache > > That implies that data can never cover a whole block. But why is data > between 1 and 16 bytes? Where does this 16 come from? > > Azadeh > > > On Sun, Jan 25, 2015 at 3:33 PM, Hamid Reza Khaleghzadeh < > [email protected]> wrote: > >> Hello Azadeh, >> >> Cache size is in Byte not in Bit. >> >> On Sun, Jan 25, 2015 at 5:32 PM, Azadeh Shirvanian via gem5-users < >> [email protected]> wrote: >> >>> Hi all >>> >>> I have a question regarding the cache line size stated in >>> *configs/common/Options.py*: >>> >>> parser.add_option("--cacheline_size", type="int", default=64) >>> >>> Someone told me that the size is 64 bits and not bytes. Is that true? >>> Is the size in bits or in bytes? >>> >>> Thanks in advance. >>> >>> Azadeh >>> >>> _______________________________________________ >>> gem5-users mailing list >>> [email protected] >>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >>> >> >> >> >> -- >> Hamid Reza Khaleghzadeh >> http://hkhaleghzadeh.webs.com >> >> >> > > -- IMPORTANT NOTICE: The contents of this email and any attachments are > confidential and may also be privileged. If you are not the intended > recipient, please notify the sender immediately and do not disclose the > contents to any other person, use it for any purpose, or store or copy the > information in any medium. Thank you. > > ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, > Registered in England & Wales, Company No: 2557590 > ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, > Registered in England & Wales, Company No: 2548782 >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
