Showing posts with label not-a-link. Show all posts
Showing posts with label not-a-link. Show all posts

2007-09-02

Suggestions on how to manage swap in Linux

I don't think any scheduler will help you with that. The slowness is due to the swapping in and out from the disk, and that's going to be limited by the horribly slow speed of the disk.

You could tweak things to make this a less likely ocurrence though.

Disable overcommit by echo 2 > /proc/sys/vm/overcommit_memory. No more OOM killer killing some random unrelated process. Memory allocations will fail and programs will be able to handle that correctly.

Set some memory limits in /etc/security/limits.conf

Avoid having too much swap space. It's awfully slow, if you're using it too much all you'll manage is to run more things slower.

Get more RAM, it's cheap. If you're regularly swapping then you definitely should.


(from a comment in this thread on /.)

2007-03-04

Intro

So what is this all about? The main purpose of this blog is to work as an easy to use/easy to browse link repository, where to store all the interesting links I encounter while I'm browsing the net, when I have no time to explore them further, or are just too cool to be lost. 

I use more than one PC so using the browser's bookmarks wouldn't do the job, especially when I use different browsers! Using the email is, as I've found out, a mess, too. I have 60 emails tagged as "links" in my inbox that are waiting to be visited. I'll probably never do.

I have this blogger account, which I opened some time ago to post on Matgala's Photoblog, but I haven't used it very much, I take less pictures than I thought. So I decided, let me try to put all those links in a blog. It's computer independant, easy to use, reliable... And incidentally, someone may find it's contents useful or amusing.

So here we are. I've just one thing to say: don't spam this blog, nobody reads it anyway. ;-)

Oh by the way, I'm Italian, so if you find my English funny, there's a reason. :-)

Have fun.