Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-08-2008, 12:38 PM
|
#1
|
Member
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709
Rep:
|
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
|
|
|
03-08-2008, 01:31 PM
|
#2
|
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:
|
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
|
|
|
03-08-2008, 01:40 PM
|
#3
|
Member
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709
Original Poster
Rep:
|
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 02:03 PM.
|
|
|
03-08-2008, 02:11 PM
|
#4
|
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:
|
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
|
|
|
03-08-2008, 04:58 PM
|
#5
|
Member
Registered: Nov 2005
Location: New Jersey, USA
Distribution: SuSE
Posts: 492
Rep:
|
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.
|
|
|
03-08-2008, 05:45 PM
|
#6
|
Member
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709
Original Poster
Rep:
|
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 05:49 PM.
|
|
|
03-08-2008, 09:30 PM
|
#7
|
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:
|
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
|
|
|
03-08-2008, 10:35 PM
|
#8
|
Member
Registered: Nov 2005
Location: New Jersey, USA
Distribution: SuSE
Posts: 492
Rep:
|
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".
|
|
|
All times are GMT -5. The time now is 11:42 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|