Site Search:
 
Speak Korean Now!
Teach English Abroad and Get Paid to see the World!
Korean Job Discussion Forums Forum Index Korean Job Discussion Forums
"The Internet's Meeting Place for ESL/EFL Teachers from Around the World!"
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CPU Cache

 
Post new topic   Reply to topic    Korean Job Discussion Forums Forum Index -> Technology Forum
View previous topic :: View next topic  
Author Message
kprrok



Joined: 06 Apr 2004
Location: KC

PostPosted: Thu Jun 08, 2006 5:20 pm    Post subject: CPU Cache Reply with quote

Hey guys, I'm looking at building, or buying a cheap 2nd desktop for my wife to use, or for work use. It will be primarily for easy office suite stuff, internet, and music playing. no gaming (other than solitaire) or anything intensive.

So my question is...what does the L1/L2 CPU Cache do? I know that more is good, but if I'm not doing anything intensive, is it really important to have a good cache with the processor?

I'm asking b/c I'm looking at getting a cheapo celery procesor with 16K L1/256K L2 Cache. I realise that a celery isn't the best option, but I'm trying to go cheap on this thing and I don't want to fork out an extra 150.000 for a P4 with better specs.

Thanks for the help guys.

KPRROK
Back to top
View user's profile Send private message
ChopChaeJoe



Joined: 05 Mar 2006
Location: Seoul

PostPosted: Sat Jun 10, 2006 8:45 am    Post subject: Reply with quote

The cache you are referring to is fast memory. A computer chip (brain) doesn't store any information, it only processes it. The hard drive stores a lot of informaion but any tie the brain needs that information it has to send a request to get it and he information (data) has to not only travel over a wire (the bus) to get to the brain but also wait for the read arm of the hard drive to line up with the spinning disk.

All of this takes micro-seconds, but when dealing with millions of bits of data we start to talk about some real time.

It turns out that a lot of time the computer wants the same data over and over. Usually these are computer instructions that are performed again and again.

The cache removes the need for going to the hard drive every time by storing the most recently "fetch"ed data on fast memory chip very close to the brain. The LI will be much faster than the L2, both will be much faster than going to the hard disk.


I would say that for your intended purposes, any used computer built in the last 5 years will do. However, Intel is going to be selling the P4s very cheap in the near future as their factories start churning out more of the dual-core chips.
Back to top
View user's profile Send private message
Demophobe



Joined: 17 May 2004

PostPosted: Sat Jun 10, 2006 3:58 pm    Post subject: Reply with quote

ChopChaeJoe wrote:
The cache you are referring to is fast memory. A computer chip (brain) doesn't store any information, it only processes it. The hard drive stores a lot of informaion but any tie the brain needs that information it has to send a request to get it and he information (data) has to not only travel over a wire (the bus) to get to the brain but also wait for the read arm of the hard drive to line up with the spinning disk.

All of this takes micro-seconds, but when dealing with millions of bits of data we start to talk about some real time.

It turns out that a lot of time the computer wants the same data over and over. Usually these are computer instructions that are performed again and again.

The cache removes the need for going to the hard drive every time by storing the most recently "fetch"ed data on fast memory chip very close to the brain. The LI will be much faster than the L2, both will be much faster than going to the hard disk.


I would say that for your intended purposes, any used computer built in the last 5 years will do. However, Intel is going to be selling the P4s very cheap in the near future as their factories start churning out more of the dual-core chips.



Pretty much, but to the system memory, not the HDD. Disc caching is really slow, but how often does the CPU write back to the HDD these days? Most folks have ample memory....

L1 is on-chip, L2 is on-die. L3 exists as well...commonly on the mainboard...the northbridge.

Speculation, associativity, cache miss, write through, write back...hard to think of on-die CPU cache without thinking of all of this; even for a simple question. I have referred people to the Wiki, as it has a fairly easy to read and clear write-up on this subject.

Celerons are indeed crippled, but only in certain situations will this be noticable, and probably not at all in whet you want to do with it. The celeron is a great chip for wild overclocking just like the old 300A. (did anyone else have one of these too? Madness...)

Do it man. A celeron is a good deal for a second system. Cheap and still pretty fast overall.
Back to top
View user's profile Send private message
ChopChaeJoe



Joined: 05 Mar 2006
Location: Seoul

PostPosted: Sat Jun 10, 2006 5:30 pm    Post subject: Reply with quote

I've got to stop posting when I should be fast asleep. I don;t know how I forgot all about system memory! Embarassed
Back to top
View user's profile Send private message
Demophobe



Joined: 17 May 2004

PostPosted: Sat Jun 10, 2006 8:25 pm    Post subject: Reply with quote

ChopChaeJoe wrote:
I've got to stop posting when I should be fast asleep. I don;t know how I forgot all about system memory! Embarassed


I know you know....saw the other post saying how long you have been using computers. Glad to see you posting here....more good help has arrived it seems! Cool
Back to top
View user's profile Send private message
ChopChaeJoe



Joined: 05 Mar 2006
Location: Seoul

PostPosted: Sun Jun 11, 2006 3:28 am    Post subject: Reply with quote

Thanks for the vote of confidence. I'll help when I can. Usually though, it's me needing the help with these amazing, frustrating machines.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Korean Job Discussion Forums Forum Index -> Technology Forum All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


This page is maintained by the one and only Dave Sperling.
Contact Dave's ESL Cafe
Copyright © 2018 Dave Sperling. All Rights Reserved.

Powered by phpBB © 2001, 2002 phpBB Group

TEFL International Supports Dave's ESL Cafe
TEFL Courses, TESOL Course, English Teaching Jobs - TEFL International