Default memory cache usage?

Discussion of general topics about Mozilla Firefox
Post Reply
kiop
Posts: 5
Joined: November 10th, 2002, 1:37 pm
Location: Ottawa, ON

Default memory cache usage?

Post by kiop »

Hi, I saw on the Unofficial Phoenix FAQ that you can specify the amount of memory cache for Phoenix to use in the user.js file. ( http://texturizer.net/phoenix/tips.html )

I was wondering how much Phoenix uses by default?

Thanks.
User avatar
djst
Moderator
Posts: 2826
Joined: November 5th, 2002, 1:34 am
Location: Sweden
Contact:

Re: Default memory cache usage?

Post by djst »

kiop wrote:Hi, I saw on the Unofficial Phoenix FAQ that you can specify the amount of memory cache for Phoenix to use in the user.js file. ( http://texturizer.net/phoenix/tips.html )

I was wondering how much Phoenix uses by default?

Thanks.


4096KB. Or 4MB if you prefer. :)
kiop
Posts: 5
Joined: November 10th, 2002, 1:37 pm
Location: Ottawa, ON

Post by kiop »

Thanks.
User avatar
Stefan
Posts: 2051
Joined: November 5th, 2002, 2:46 am

Re: Default memory cache usage?

Post by Stefan »

djst wrote:4096KB


What's that? 4096 Kelvin Bytes? ;)
Duey
Posts: 155
Joined: November 7th, 2002, 8:06 pm

Re: Default memory cache usage?

Post by Duey »

Stefan wrote:What's that? 4096 Kelvin Bytes? ;)


It's whatever Phoenix uses. Open up chrome://communicator/content/pref/pref.xul (if it still works), go to Advanced/Cache and you will see KB.

Duey
User avatar
laszlo
Posts: 5225
Joined: November 4th, 2002, 6:13 pm
Location: .de
Contact:

Re: Default memory cache usage?

Post by laszlo »

Duey wrote:
Stefan wrote:What's that? 4096 Kelvin Bytes? ;)

It's whatever Phoenix uses. Open up chrome://communicator/content/pref/pref.xul (if it still works), go to Advanced/Cache and you will see KB.
Duey

Stefan's humor seems to differ from yours :wink:
Anyway: kB = 1000 bytes, KB = 1024 bytes.
Duey
Posts: 155
Joined: November 7th, 2002, 8:06 pm

Re: Default memory cache usage?

Post by Duey »

laszlo wrote:Stefan's humor seems to differ from yours :wink:


Oh, heh, sorry, subtle things usually go way over my head. :)

Duey
User avatar
Stefan
Posts: 2051
Joined: November 5th, 2002, 2:46 am

Re: Default memory cache usage?

Post by Stefan »

laszlo wrote:Anyway: kB = 1000 bytes, KB = 1024 bytes.


Well, k = 1000, but there is actually no spec that sais K = 1024.

And that is sais KB in Mozilla, well the american programer that wrote it probably never used learned about SI units in school ;)
User avatar
GNU/Ben
Posts: 1557
Joined: November 5th, 2002, 1:45 pm
Location: 127.0.0.1
Contact:

Post by GNU/Ben »

If I remember right, it had something to do with hex. Or was it binary?
User avatar
Stefan
Posts: 2051
Joined: November 5th, 2002, 2:46 am

Post by Stefan »

Benman wrote:If I remember right, it had something to do with hex. Or was it binary?


2^10 = 1024 which is close enough to kilo (1000) so that people started using the shorter 1k notation after a while.
Obviously having k mean 1000 as well as 1024 is far from optimal (HDs and networking eg uses 1000, while memory uses 1024) as there is a high risk of confusion.
Sadly the standards organizations havn't managed to come up with (or rather agreed upon) a good alternative replacment yet (though there are a number of suggestions).
Last edited by Stefan on November 11th, 2002, 8:32 am, edited 2 times in total.
User avatar
djst
Moderator
Posts: 2826
Joined: November 5th, 2002, 1:34 am
Location: Sweden
Contact:

Re: Default memory cache usage?

Post by djst »

Stefan wrote:
djst wrote:4096KB


What's that? 4096 Kelvin Bytes? ;)


k stands for kilo, which is 1000. One kilogram is 1000 grams. One kilometer is 1000 metres. Somehow, the americans decided to use K for kilobytes. Maybe because 1024 != 1000, or maybe because they didn't like the appearance of kB? I really don't know. K is really short for Kelvin, not kilo, and in fact, the Swedish version of Windows is using kB instead of KB.
Ted Mielczarek
Posts: 1269
Joined: November 5th, 2002, 7:32 am
Location: PA
Contact:

Post by Ted Mielczarek »

Stefan wrote:
Benman wrote:If I remember right, it had something to do with hex. Or was it binary?


2^8 = 1024 which is close enough to kilo (1000) so that people started using the shorter 1k notation after a while.
Obviously having k mean 1000 as well as 1024 is far from optimal (HDs and networking eg uses 1000, while memory uses 1024) as there is a high risk of confusion.
Sadly the standards organizations havn't managed to come up with a good alternative replacment yet (though there are a number of suggestions).


http://mathworld.wolfram.com/Kibibyte.html

Yes, I think it sounds stupid too. Also it means that hard drive manufacturers can continue labelling drives as "80 Gb" when your OS will report them as less.
Ted Mielczarek
Posts: 1269
Joined: November 5th, 2002, 7:32 am
Location: PA
Contact:

erp

Post by Ted Mielczarek »

More appropriate link: http://physics.nist.gov/cuu/Units/binary.html

Didn't notice that link on the Mathworld site.
User avatar
Stefan
Posts: 2051
Joined: November 5th, 2002, 2:46 am

Post by Stefan »

Jepp, but if you look at the reference for that page you can read

"It is important to recognize that the new prefixes for binary multiples are not part of the International System of Units (SI), the modern metric system."
Post Reply