Optmizing Cassandra

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Post Reply
exploder
Level 15
Level 15
Posts: 5623
Joined: Tue Feb 13, 2007 10:50 am
Location: HartfordCity, Indiana USA

Optmizing Cassandra

Post by exploder »

The optimization guides have moved again, so I thought I would just start a new thread. Here are the guides for anyone that is interested,

http://www.xlntsolution.com/index.php/2 ... y/#more-26

http://yoten.blogspot.com/2007/04/speed-up-ubuntu.html

I have had no problems using these tips and things seem to be a little quicker!

Also, if you are interested in a newer kernel this is quick and easy!

http://ubuntuforums.org/showthread.php?t=511974

I like the newer kernel myself, most distributions are going with a 2.6.22 kernel. If you are not interested in system optimization please do not flame my thread, just ignore my post.

I have some tips for Beagle, but have not written down the steps to optimize it yet. My system uses 92.8 mb of RAM at startup. Beagle still has functionality too.

If enough people have interest I will post more tips.
Husse

Warning

Post by Husse »

I see that one of the links recommends installing hdparm
Don't!
This can seriously harm your disk!
http://www.linux.com/articles/113887
hdparm does not work well with SATA disks either
exploder
Level 15
Level 15
Posts: 5623
Joined: Tue Feb 13, 2007 10:50 am
Location: HartfordCity, Indiana USA

Post by exploder »

Here are some Firefox Tweaks that I use. Swiftfox and Swiftweasel use ugly fonts and I just do not see any great improvements over optimizing Firefox.

1) Go to "Edit", "Preferences".

2) Under "Downloads", place a check in " "Close it when all downloads are finished" (Why leave it up?)

3) In the "Privacy" tab change "Remember visited pages" to 0 and remove the check. (This helps keep the Cache from filling up.)

4) Change "Accept cookies from sites" to "Keep until; I close Firefox" (This helps keep cookies from building up.)

5 )Go to "Advanced", select the "Update" tab, remove the check for "Installed Adons" (You can check manually at your convenience.)

6) Clear your "Private data" when you close Firefox. ( This is just a good practice and keeps everything cleaned out and in good order.)

7) Install "Adblock Plus". (Web pages load much faster without all of the embeded ads coming up.)

Just a additional note. If you have had problems with lockups in Firefox from playing Adobe Flash video, increase your cache from the default 50 mb to 75 mb. This trick does not cure problems with flash completely but it will decrease the amount of problems you have.
exploder
Level 15
Level 15
Posts: 5623
Joined: Tue Feb 13, 2007 10:50 am
Location: HartfordCity, Indiana USA

Post by exploder »

Look in "Services" you will see hdparm there. Also, open Synaptic and do a search for "hdparm", it is installed by default in Cassandra.

The hdparm tip is only needed if your HDD is not using ultra dma.

This is from the How To,

and enable 32 bit IO and UDMA if it wasn't before with:

From your link,

I ended by asking Lord who the major users of Hdparm are today. He told me:

Just about every major distro invokes hdparm as part of system startup. Aside from that, individuals also use it to do "-W1" (write cache on), to control the drive's acoustic management settings, to control auto spin-down for laptops on battery power, etc...

Even users of SATA drives make frequent use of hdparm.

I do not see an issue here.
Husse

Post by Husse »

Sorry - I should have written don't play around with hdparm - there are some interesting choices to make :)
And yes - it's there but not active for the most
Bad wording on my side :)
exploder
Level 15
Level 15
Posts: 5623
Joined: Tue Feb 13, 2007 10:50 am
Location: HartfordCity, Indiana USA

Post by exploder »

That's ok, I just did not want people to be afraid to try these tweaks.
Wh1sper
Level 2
Level 2
Posts: 70
Joined: Sun May 20, 2007 7:38 am
Location: Germany
Contact:

Post by Wh1sper »

exploder wrote: Just a additional note. If you have had problems with lockups in Firefox from playing Adobe Flash video, increase your cache from the default 50 mb to 75 mb. This trick does not cure problems with flash completely but it will decrease the amount of problems you have.
Hhm that sounds interesting, seems the movie has to be in browser cache..
Can't wait to try it out :)
Mein Blog fuer Nerten und Linux Strategen http://zockertown.de/s9y/
Post Reply

Return to “Tutorials”