DaemonForums  

Go Back   DaemonForums > Miscellaneous > Off-Topic

Off-Topic Everything else.

View Poll Results: Do you use a swap partition?
Yes 23 100.00%
No 0 0%
Voters: 23. You may not vote on this poll

Reply
 
Thread Tools Display Modes
Old 10th July 2008
dk_netsvil dk_netsvil is offline
Real Name: Devon
Fdisk Soldier
 
Join Date: May 2008
Location: New York
Posts: 75
Thanked 7 Times in 7 Posts
Default

I use a swap partition on everything although on my workstations they are rarely if ever used. In server environments, though, especially for virtualization servers, I always use some swap. In those cases I calculate my total available virtual machines using a formula like this:

# of VMs = ((RAM+swap)/avg memory per VM)

I don't think, given the relative cheapness of RAM and harddrive space, that there's any concrete justification to configuring swap as 2 or 3 times your system RAM - not on a workstation or laptop, anyway. But in a server implementation I can see that swap is going to be used.
Reply With Quote
Old 11th July 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

In all fairness, something the size of Gnome, X.Org, and most of the Mozilla based Gecko using browsers anyway are bound to have memory leaks and worse lurking around.

The question is how many remain to be found!



It's inevitable, that's why a code base should live ina "bugs will happen, let's make it easier to find and fix" mentality IMHO.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
Old 11th July 2008
JMJ_coder JMJ_coder is offline
VPN Cryptographer
 
Join Date: May 2008
Posts: 464
Thanked 8 Times in 8 Posts
Default

Hello,

Quote:
Originally Posted by TerryP View Post
In all fairness, something the size of Gnome, X.Org, and most of the Mozilla based Gecko using browsers anyway are bound to have memory leaks and worse lurking around.

The question is how many remain to be found!



It's inevitable, that's why a code base should live ina "bugs will happen, let's make it easier to find and fix" mentality IMHO.
Bugs will happen - that's as close to a guarantee as can be in computers. But, perhaps the problem with many modern programs is that they tend towards the 'do everything in a single interface and include everything, including the kitchen sink' and not the traditional UNIX way of 'do one thing and do it well'.
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14)
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to swap partitions Help revzalot OpenBSD Installation and Upgrading 2 1st September 2009 07:44 AM
swap partition lumiwa FreeBSD General 6 11th September 2008 03:57 PM


All times are GMT. The time now is 04:40 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick