LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-08-2008, 11:38 AM   #1
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Rep: Reputation: 30
power saving issues with web server


Hi I'm running a self hosted web server in my room. It's going to be on pretty much all day. I was wondering is there anything I can do to save energy? It's a bit expensive to purchase my own server from a host. It's much better if it's your own. There's no restrictions.

It's not going to be that busy so I guess I could turn off the hdd after so long. but is there anything else? It's an athlon xp processor running ubuntu server gutsy
 
Old 03-08-2008, 12:31 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Doubt it will turn the drive off much. The only way to be less energy users is a small basic computer and leting it load the os off a USB stick and run the OS in memory. Not harddrive or cdrom required. Run a low power cpu that would not require a fan for cooling and the power supply would be say a wall wart. Many very basic SBC systems out there.

Brian
 
Old 03-08-2008, 12:40 PM   #3
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Original Poster
Rep: Reputation: 30
how can you load an os without a cdrom or hard disk ? you need some kind of storage device to load the data into the ram. Also ram isn't permanent. It looses the data when the comp is turned off. Are you saying to use a floppy?

Last edited by linuxmandrake; 03-08-2008 at 01:03 PM.
 
Old 03-08-2008, 01:11 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
As long as the machine can boot from USB then you should be able to boot from a USB memory stick. Load the OS in system memory and run it from there. I am kind of thinking more of flash rom eeprom system like so.

Brian
 
Old 03-08-2008, 03:58 PM   #5
jantman
Member
 
Registered: Nov 2005
Location: New Jersey, USA
Distribution: SuSE
Posts: 492

Rep: Reputation: 31
If you're that concerned about the power it will draw - I mean, it's probably less than a 500W power supply - your best bet would be optimizing the system:

1) Optimize software - get as little disk I/O as you can, and eliminate any unneeded processor activity. Shut down anything that you don't need.

2) Optimize hardware - get rid of everything that draws power and isn't needed. I don't know what type of hardware you're running, but you can try to slim down the PS, more power-efficient hard drives, etc.

All this has trade-offs in terms of reliability and power. For example, my personal development server - off-site, so I don't have quick physical access to it - draws a maximum of 1500W through three 500W power supplies. I can lose a power supply, 2 disks, and a processor without impacting functionality.
 
Old 03-08-2008, 04:45 PM   #6
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Original Poster
Rep: Reputation: 30
How much power do I need for 2x256MB ram Athlonxp 2gig, lan card and usb controller. I've gone turned off everything I don't need like KB/mouse. It'll be a terminal server so it doesn't really need it. Actually running completely off ram is good because then if it crashes I can just restart it. I'vehad experiences where my system crashed then after a reboot I noticed some files have gone. even though I never opened them lol. I've even unplugged the power/hdd activity leds lol.

if am running as terminal server then remotely administering it using a putty, i don't need a graphics card do I?

Last edited by linuxmandrake; 03-08-2008 at 04:49 PM.
 
Old 03-08-2008, 08:30 PM   #7
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
the power supply being a switching power supply will only produce power as needed. The biggest draw is during power on of machine. Once up then the load is lighten. So the power supply is not always producing 500watts.

Brian
 
Old 03-08-2008, 09:35 PM   #8
jantman
Member
 
Registered: Nov 2005
Location: New Jersey, USA
Distribution: SuSE
Posts: 492

Rep: Reputation: 31
I have no idea what the power draw specs are on your mobo and processor - you'd have to look them up in manufacturer spec sheets. But do you really need that much processing power for a web server? 2GHz is pretty fast for a simple personal web server...

Sounds like, with a switching power supply, it's about as stripped down as it can be. You're probably drawing about the least power as you can with a 2GHz processor.

I've been running Linux with journaling filesystems for 5 years, and despite many "play" machines that were powered down hard (or power loss, or locked up and had plug pulled) I've never experienced data loss.

The main power draw in most machines are hard drives, but I assume you're running a consumer-level machine with SATA or PATA (IDE/EIDE) drives at low speeds (5400 or 7200 rpm) so you don't have much to worry about. If you're running something like a 15k RPM SCSI disk, then you could probably save some power...

PS - Assuming you're saying that the server isn't going to have a keyboard/mouse/monitor, the nomenclature is "headless server".
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu: Power saving server robbe751 Linux - Software 1 04-12-2007 07:52 PM
Power-saving power extension cables? (UK) neocookie General 3 03-28-2007 02:53 PM
Saving power on a samba server Tortanick Linux - General 3 02-13-2007 02:24 AM
Power saving? kleptophobiac Linux - Laptop and Netbook 2 07-18-2004 09:38 PM
HTTP Web Server Not Saving Changes goldcougar Linux - Newbie 5 06-28-2004 03:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:32 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