Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 03-05-2005, 12:02 AM   #1 (permalink)
Alpha Geek
 
The Incredible's Avatar
 
Join Date: May 2005
Location: Planet Incredible
Posts: 579
Default L1 L2 L3


Do anyone know what's L1, L2 & L3 cache?
The Incredible is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 03-05-2005, 12:32 AM   #2 (permalink)
In The Zone
 
sms_solver's Avatar
 
Join Date: Jan 2004
Location: somewhere
Posts: 420
Default

Level1, Level2 and Level3 cache

is size Level3> level2 > level1
is speed Level1>level2>level3

Level3 is recently introduced in latest intel processors
__________________
[ॐ एसएमएस॰सोल्भर ॐ]
sms_solver is offline  
Old 03-05-2005, 05:02 AM   #3 (permalink)
Wise Old Owl
 
Join Date: Jan 2004
Location: New York
Posts: 1,634
Default

Quote:
Originally Posted by Wikipedia
The second issue is the fundamental tradeoff between cache latency and hit rate. Larger caches are both slower and have better hit rates. To ameliorate this tradeoff, many computers use multiple levels of cache, with small fast caches backed up by larger slower caches. As the latency difference between main memory and the fastest cache has become larger, some processors have begun to utilize as many as three levels of on-chip cache. For example, in 2003, Itanium II began shipping with a 6MB unified level 3 cache on-chip. The IBM Power 4 series has a 256MB level 3 cache off chip, shared among several processors.

Multi-level caches generally operate by checking the smallest Level 1 cache first; if it hits, the processor proceeds at high speed. If the smaller cache misses, the next larger cache is checked, and so on, before main memory is checked.

Multi-level caches introduce new design decisions. For instance, in some processors (like the Intel Pentium 2, 3, and 4, as well as most RISCs), the data in the L1 cache may also be in the L2 cache. These caches are called inclusive. Other processors (like the AMD Athlon) have exclusive caches — data is guaranteed to be in at most one of the L1 and L2 caches.

The advantage of exclusive caches is that they store more data. This advantage is larger with larger caches. When the L1 misses and the L2 hits on an access, the hitting cache line in the L2 is exchanged with a line in the L1. This exchange is quite a bit more work than just copying a line from L2 to L1, which is what an inclusive cache does.

Some implementations of inclusive caches guarantee that all data in the L1 cache is also in the L2 cache (Intel x86 implementations do not). One advantage of strictly inclusive caches is that when external devices or other processors in a multiprocessor system wish to remove a cache line from the processor, they need only have the processor check the L2 cache. In cache hierarchies which do not enforce inclusion, the L1 cache must be checked as well. As a drawback, there is a correlation between the associativities of L1 and L2 caches: if the L2 cache does not have at least as much ways as all L1 caches together, the effective associativity of the L1 caches is restricted.

Another advantage of inclusive caches is that the larger cache can use larger cache lines, which reduces the size of the secondary cache tags. If the secondary cache is an order of magnitude larger than the primary, and the cache data is an order of magnitude larger than the cache tags, this tag area saved can be comparable to the incremental area needed to store the L1 cache data in the L2.

As mentioned above, larger computers sometimes have another cache between the L2 cache and main memory called an L3 cache. This cache is generally implemented on a separate chip from the CPU, and, as of 2004, may range in size from 2 to 256 megabytes. This cache will generally cost well in excess of $1000 to implement, and its benefits are seen mostly on large data sets not typically found on PCs. The cost is generally why processors for PCs do not have this cache.

Finally, at the other end of the memory hiearchy, the CPU register file itself can be considered the smallest, fastest cache in the system, with the special characteristic that it is scheduled in software -- typically by a compiler, as it allocates registers to hold values retrieved from main memory.
Here is the source: http://en.wikipedia.org/wiki/CPU_cache

Also check these:
http://www.answers.com/topic/cpu-cache
http://www.pantherproducts.co.uk/Art...%20Cache.shtml
http://www.karbosguide.com/hardware/module3b2.htm
Nemesis is offline  
Old 03-05-2005, 09:29 AM   #4 (permalink)
In The Zone
 
Join Date: Sep 2004
Location: Delhi
Posts: 234
Default

Thnak you i know i know the difference now thank u!
abhinav is offline  
Old 24-05-2005, 08:58 PM   #5 (permalink)
Alpha Geek
 
The Incredible's Avatar
 
Join Date: May 2005
Location: Planet Incredible
Posts: 579
Default

C'mon guys no more responce. is it an illegal question that u r not responding or no one know the answer.
I've understood what wikipedia wrote but the language is a bit tough for me so plz help me. n don't be shocked.
Thanx
The Incredible is offline  
Old 24-05-2005, 09:20 PM   #6 (permalink)
Alpha Geek
 
Join Date: Aug 2004
Posts: 659
Default

cache is short term memory in which data which is continuously accessed is stored....so when we need data..first cache is checked...its its found its a hit..or else its a miss....................

now there r 3 types of cache....and its arch and working is menton above
magnet is offline  
Old 25-05-2005, 11:12 AM   #7 (permalink)
In The Zone
 
Join Date: May 2005
Location: JABALPUR (M.P)
Posts: 403
Default

the more the cache the better the performance !!!


Of the processor only !! not ur sysytem COZ SYSTEM EVEN INCLUDES RAM <MB,etc !!!


CHEERS ~!!!
__________________
\"Live Life as it comes & Live it KINGSIZE\"
\"Learn From Yesterday,Live For Today & Hope For Tomorrow\".
Bye 4 Now - N_!_r_a_L
King_Niral is offline  
Old 26-05-2005, 09:24 AM   #8 (permalink)
Human Spambot
 
expertno.1's Avatar
 
Join Date: May 2005
Location: Expert Planet
Posts: 2,480
Default

its not always that the mor the chache the better the performance

it also depends upon the bsues and router s

and system features
__________________
Off From Digit Forum for some months.....busy
expertno.1 is offline  
Old 26-05-2005, 10:53 AM   #9 (permalink)
In The Zone
 
Join Date: May 2005
Location: JABALPUR (M.P)
Posts: 403
Default

yeah !!! but EVEN SIZE MATTERS !!!


Cheers !!!
__________________
\"Live Life as it comes & Live it KINGSIZE\"
\"Learn From Yesterday,Live For Today & Hope For Tomorrow\".
Bye 4 Now - N_!_r_a_L
King_Niral is offline  
Old 26-05-2005, 11:54 AM   #10 (permalink)
Human Spambot
 
expertno.1's Avatar
 
Join Date: May 2005
Location: Expert Planet
Posts: 2,480
Default

okokokokokokok
i agagagareeeeeee

with yoooooou


King_Niral size mattersssssss !!!!!!!!!
__________________
Off From Digit Forum for some months.....busy
expertno.1 is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by clmlbx
- by ico
- by clinton
- by icebags
- by Charan

Advertisement




All times are GMT +5.5. The time now is 01:14 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2