Re: FLASH disk as swap

2009-12-10 Thread Marco Savo
Thanks for the info. I had to find the time for read all the mails. I also found some useful info on internet: http://www.linux.com/news/software/applications/8208-all-about-linux-swap-space?theme=print http://www.xenotime.net/linux/doc/swap-mini-howto.txt

Re: FLASH disk as swap

2009-12-10 Thread Alan Dayley
On Thu, Dec 10, 2009 at 3:21 AM, Marco Savo savoma...@gmail.com wrote: Thanks for the info. I had to find the time for read all the mails. I also found some useful info on internet: http://www.linux.com/news/software/applications/8208-all-about-linux-swap-space?theme=print

Re: FLASH disk as swap

2009-12-04 Thread James Finstrom
...@lists.plug.phoenix.az.us] On Behalf Of Kurt Granroth Sent: Thursday, December 03, 2009 5:06 PM To: plug-discuss@lists.plug.phoenix.az.us Subject: Re: FLASH disk as swap On 12/3/09 9:39 AM, der.hans wrote: Having swap be 1.5 times the size of ram is good, double the size of ram is better

RE: FLASH disk as swap

2009-12-04 Thread Matt Graham
From: Bob Elzer bob.el...@gmail.com What about a large database, maybe a couple of terabytes, and maybe lots of users. And then let's say we spread our 6G of swap over several disks. Maybe a system with 32GB of memory, and quad processors. Maybe we could run some tests, anybody have a system

Re: FLASH disk as swap

2009-12-04 Thread Eric Cope
Can you share which changes you made to improve those Apache barfers? Eric On Fri, Dec 4, 2009 at 9:34 AM, Matt Graham danceswithcr...@usa.net wrote: From: Bob Elzer bob.el...@gmail.com What about a large database, maybe a couple of terabytes, and maybe lots of users. And then let's say we

Re: FLASH disk as swap

2009-12-04 Thread Matt Graham
From: Eric Cope eric.c...@gmail.com On Fri, Dec 4, 2009 at 9:34 AM,danceswithcr...@usa.net wrote: I've seen the Apache boxes hit swap heavily, fall over, and barf, but that's been a lot less common since we changed a few things early this year. YMMV, obviously. Can you share which changes

FLASH disk as swap

2009-12-03 Thread Marco Savo
Hello, I have a *simple* question: it is possible use a FLASH drive as SWAP? someone told me that there is a limited numbers of write that is possible doing, so that will reduce the life of the flash. But what about SSD hard drives then? are not NAND flash as well? and which is the best filesistem

Re: FLASH disk as swap

2009-12-03 Thread kitepi...@kitepilot.com
I have been using flash drives for swap for ages, even before I knew that I shouldn't...:) So far, so good, YMMV. ET Marco Savo writes: Hello, I have a *simple* question: it is possible use a FLASH drive as SWAP? someone told me that there is a limited numbers of write that is

Re: FLASH disk as swap

2009-12-03 Thread Alex Dean
On Dec 3, 2009, at 4:40 AM, Marco Savo wrote: Hello, I have a *simple* question: it is possible use a FLASH drive as SWAP? Probably, but why would you want to? For a normal desktop or server, I see a lot of disadvantages and no advantages over putting swap on a regular HDD. Post up

Re: FLASH disk as swap

2009-12-03 Thread Stephen
I have run Linux desktops without swap and most of the time it was just fine (it had a large amount of ram so i don't think it cared. but what i understood of the issue now given the large amount of cheap ram swap is generally not needed unless a program needs it for a graceful moment On Thu,

Re: FLASH disk as swap

2009-12-03 Thread kitepi...@kitepilot.com
swap is generally not needed This doesn't correlate with my experience... But then again, my experience can be wrong.:) What I (believe to) have seen however, is that Linux wants swap no matter what. I also tend to abuse the memory though. Is there an official answer for the question

Re: FLASH disk as swap

2009-12-03 Thread Matt Graham
From: Stephen cryptwo...@gmail.com On Thu, Dec 3, 2009 at 7:50 AM, Alex Dean a...@crackpot.org wrote: On Dec 3, 2009, at 4:40 AM, Marco Savo wrote: it is possible use a FLASH drive as SWAP? Probably, but why would you want to? Might as well ask Why would you want to make a softRAID-5 out of a

Re: FLASH disk as swap

2009-12-03 Thread der.hans
Am 03. Dez, 2009 schwätzte Marco Savo so: moin moin Marco, I have a *simple* question: it is possible use a FLASH drive as SWAP? someone told me that there It's absolutely possible. is a limited numbers of write that is possible doing, so that will reduce the life of the flash. But what

RE: FLASH disk as swap

2009-12-03 Thread Bob Elzer
...@lists.plug.phoenix.az.us [mailto:plug-discuss-boun...@lists.plug.phoenix.az.us] On Behalf Of kitepi...@kitepilot.com Sent: Thursday, December 03, 2009 9:08 AM To: Main PLUG discussion list Subject: Re: FLASH disk as swap swap is generally not needed This doesn't correlate with my experience

RE: FLASH disk as swap

2009-12-03 Thread der.hans
Am 03. Dez, 2009 schwätzte Bob Elzer so: Swap is basically hard drive space used so that when your computer wants to do something in memory and it doesn't have enough space left, it will suspend and copy some running programs to the swap disk, it doesn't use regular file system for speed, so it

RE: FLASH disk as swap

2009-12-03 Thread Bob Elzer
] On Behalf Of der.hans Sent: Thursday, December 03, 2009 9:52 AM To: Main PLUG discussion list Subject: RE: FLASH disk as swap Am 03. Dez, 2009 schwätzte Bob Elzer so: Swap is basically hard drive space used so that when your computer wants to do something in memory and it doesn't have enough

Re: FLASH disk as swap

2009-12-03 Thread Stephen
Oficially it doesnt NEED it, but it can greatly improve the stability of a system and some smoothness of havy applications or anything that was super clean in its memory allocation. In a desktop its not an issue, but also not something i would do on anything with less than 4g of ram. in a server

Re: FLASH disk as swap

2009-12-03 Thread Alex Dean
On Dec 3, 2009, at 10:09 AM, Matt Graham wrote: On Thu, Dec 3, 2009 at 7:50 AM, Alex Dean a...@crackpot.org wrote: On Dec 3, 2009, at 4:40 AM, Marco Savo wrote: it is possible use a FLASH drive as SWAP? Probably, but why would you want to? Might as well ask Why would you want to make a

Re: FLASH disk as swap

2009-12-03 Thread Eric Shubert
Alex Dean wrote: And, seriously, RAID6 on 5.25 floppies is *way* cooler. :) Reminds me of when we put sortwork files on tapes. :) (something you'd never want to do, but it makes the tape drives dance!) -- -Eric 'shubes' --- PLUG-discuss mailing

Re: FLASH disk as swap

2009-12-03 Thread Stephen
Honestly thats part of the fun i personally learn something every time :-) On Thu, Dec 3, 2009 at 10:01 AM, Bob Elzer bob.el...@gmail.com wrote: No, you're probably right, I stated it incorrectly. -- A mouse trap, placed on top of your alarm clock, will prevent you from rolling over and going

RE: FLASH disk as swap

2009-12-03 Thread Bob Elzer
Of Stephen Sent: Thursday, December 03, 2009 11:06 AM To: Main PLUG discussion list Subject: Re: FLASH disk as swap Honestly thats part of the fun i personally learn something every time :-) On Thu, Dec 3, 2009 at 10:01 AM, Bob Elzer bob.el...@gmail.com wrote: No, you're probably right, I stated

Re: FLASH disk as swap

2009-12-03 Thread Stephen
memory you give to the ram disk. :-) -Original Message- From: plug-discuss-boun...@lists.plug.phoenix.az.us [mailto:plug-discuss-boun...@lists.plug.phoenix.az.us] On Behalf Of Stephen Sent: Thursday, December 03, 2009 11:06 AM To: Main PLUG discussion list Subject: Re: FLASH disk

Re: FLASH disk as swap

2009-12-03 Thread Kurt Granroth
On 12/3/09 9:39 AM, der.hans wrote: Having swap be 1.5 times the size of ram is good, double the size of ram is better. Those are old-school heuristics from back in the day when 32 MB was a lot of RAM. I stretch to think of a case where 6-8 GB of swap would come into play at *all*. That is,

Re: FLASH disk as swap

2009-12-03 Thread Eric Shubert
Kurt Granroth wrote: On 12/3/09 9:39 AM, der.hans wrote: Having swap be 1.5 times the size of ram is good, double the size of ram is better. Those are old-school heuristics from back in the day when 32 MB was a lot of RAM. I stretch to think of a case where 6-8 GB of swap would come

RE: FLASH disk as swap

2009-12-03 Thread Bob Elzer
5:06 PM To: plug-discuss@lists.plug.phoenix.az.us Subject: Re: FLASH disk as swap On 12/3/09 9:39 AM, der.hans wrote: Having swap be 1.5 times the size of ram is good, double the size of ram is better. Those are old-school heuristics from back in the day when 32 MB was a lot of RAM. I stretch

Re: FLASH disk as swap

2009-12-03 Thread Stephen
maybe. -Original Message- From: plug-discuss-boun...@lists.plug.phoenix.az.us [mailto:plug-discuss-boun...@lists.plug.phoenix.az.us] On Behalf Of Kurt Granroth Sent: Thursday, December 03, 2009 5:06 PM To: plug-discuss@lists.plug.phoenix.az.us Subject: Re: FLASH disk as swap On 12/3