LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-22-2012, 03:39 PM   #16
Celyr
Member
 
Registered: Mar 2012
Location: Italy
Distribution: Slackware+Debian
Posts: 321

Rep: Reputation: 81

Your kernel is 32bit with no doubt.
My suggestion is: If you have too much ram next time buy less.
It's just pointless to load random thing in ram to use it. The os already do it when it's needed you are filling the RAM of random garbage instead of zeroes, still wasted.
A better use would be having an infiniband controller and sharing the ram with other machines.
 
Old 07-23-2012, 09:26 AM   #17
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,657
Blog Entries: 4

Rep: Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938
Just built a 64-bit kernel and configure it appropriately. Duh.

If you bought more RAM than your motherboard (e.g. pre-boot diagnostic screens) says it can support, sell the extra on eBay.
 
Old 07-23-2012, 10:49 AM   #18
MisterBark
Member
 
Registered: Jul 2012
Location: Republic of Krakozhia
Distribution: Slackware & Zenwalk core + compile
Posts: 104

Original Poster
Rep: Reputation: 6
ok guys, relax it was a humorous thread at the beginning... there's no reason to feel frustrated.
Kernel is 64, no doubt, it wouldn't be able to use all the ram otherwise. But it is (a quick look at top shows that)

@johnsfine:

yes I am loading the right kernel ahah - very funny
(I used and programmed on Linux for the last 12 years BTW)

Concerning ramfs, if I load 4G of directories in the ram, that means there is 12G left.
But what would happen if I had only 12G on my MB? would that be so terrible for the performance of my system? ...

Loading system directories in the ram (about 1.5G for me) + directories such as reasonably sized DocumentRoot is obviously better than waiting for a Linux cache.
Why?
Because the Linux cache will always wait for a first use.
So let's say a particular file is not used for some time, the first visitor will have a slower response time.
If the things are in ramfs, there is no question about that, and after all, you still have 12G to run your system... should be enough!

I still use tmpfs for everything that is not so important, and of course everything that can become too big.

Anyways, the server receives about 12,000 hits per hour and all websites are perl cgi with many sql requests,
These 12,000 are not full of pictures because I usually include all images elements in a single picture.
The is a dns lookup at each first request.
Despite of this, the average load time of a page is about 100ms and it's hard to find more than 200.

So I'm satisfied of my configuration, after all, the important is the results, not the words.
BTW, the HD is a bit slow, it's better not to overload it anyway (it would kill it faster also)

Last edited by MisterBark; 07-23-2012 at 10:58 AM.
 
Old 07-23-2012, 11:20 AM   #19
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by MisterBark View Post
Kernel is 64, no doubt, it wouldn't be able to use all the ram otherwise. But it is (a quick look at top shows that)
Again, your kernel reports itself as i686, which means it is in fact 32 bit. And yes, you are able to use all your RAM if you have PAE enabled in your Kernel. A Linux 32 bit kernel is able to use up to 64GB of RAM with PAE enabled. Not that it would make such sense to run such a configuration.

Quote:
BTW, the HD is a bit slow, it's better not to overload it anyway (it would kill it faster also)
The lifetime of a harddisk is not affected by its speed.
 
Old 07-23-2012, 11:23 AM   #20
MisterBark
Member
 
Registered: Jul 2012
Location: Republic of Krakozhia
Distribution: Slackware & Zenwalk core + compile
Posts: 104

Original Poster
Rep: Reputation: 6
TobiSGD: you are absolutely right, I'm sorry.

sundialsvcs: of course, sorry for mistaking.

Celyr: thank you for the advice, I'll let you know.

johnsfine: thanks again for the tips!
 
Old 07-25-2012, 05:45 AM   #21
Celyr
Member
 
Registered: Mar 2012
Location: Italy
Distribution: Slackware+Debian
Posts: 321

Rep: Reputation: 81
Don't be like that, i'm pretty sure your kernel is 32 bit with PAE. Try this:

Code:
root@minnie:~# getconf LONG_BIT
64
root@minnie:~# uname -m
x86_64
root@minnie:~#
About cache all my studies on operating systems tells that it's better to use the OS one anyway and that the first miss will be ininfluent after a very little time But maybe practice is different from theory

Last edited by Celyr; 07-25-2012 at 05:48 AM.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gentoo don't detect full ram memory YassBoss Linux - Hardware 8 08-01-2009 06:02 PM
vt's don't work after suspend to ram notapplicable Linux - Laptop and Netbook 0 11-23-2006 03:08 PM
DVD RAM on LG T1 Express not working, I don't want to go back to windows. please help n9n Linux - Newbie 3 06-14-2006 02:16 PM
top don't show me all my ram Polyvore Linux - General 2 04-29-2004 02:00 AM
Linux DON'T know how to release RAM? raylpc Linux - General 2 07-16-2003 07:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration