Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Programming with Low Power Consumption
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
zacinfinite
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2011
Posts: 90

PostPosted: Tue Nov 22, 2011 2:34 pm    Post subject: Programming with Low Power Consumption Reply with quote

With the explosion of laptops, netbooks, nettops we have quite heavy processiong power in low electric consumption compared to systems 7 years ago.

I was wongering if I could use a small netbook or a nettop for application programming, kernel hacking and as a small personal apache server?
Why dont programmers use this method to save power bills?
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10590
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue Nov 22, 2011 2:52 pm    Post subject: Reply with quote

At a guess, because they typically don't pay the power bill. Second guess, the performance of these lesser systems is typically less than a higher-power-consumption workstation: enough to be noticed and to affect productivity.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Tue Nov 22, 2011 7:50 pm    Post subject: Reply with quote

Netbooks are fine for running vim.

But programmers have to compile and run their work a lot, to check and debug it, and having compilations take minutes rather than seconds, and runtime checking take 10 mins rather than 1 min, is counter-productive.
Back to top
View user's profile Send private message
Dr.Willy
Guru
Guru


Joined: 15 Jul 2007
Posts: 547
Location: NRW, Germany

PostPosted: Tue Nov 22, 2011 8:43 pm    Post subject: Reply with quote

Hello? Netbook? Display size? wtf?
Back to top
View user's profile Send private message
Goverp
Advocate
Advocate


Joined: 07 Mar 2007
Posts: 2014

PostPosted: Wed Nov 23, 2011 10:04 am    Post subject: Reply with quote

One benefit of using a netbook would be encouraging developers to write smaller functions and procedures. One of the warning signs is the developer with two 22 inch monitors displaying source code in 8 point type. Odds are, there's an if-then-else statement nested 10 deep and spanning 500 lines (and maybe s sneaky goto to make error handling "easier").

There's a lot to be said for forcing developers to use the old IBM 3277 display of 24 lines of 80 characters. And only 64 Kb of ram, and punched cards instead of disk. Oh for the good old days of the abacus and slide rule. (Disappears into the mist, muttering into beard about coding space invaders on a TRS-80....)
_________________
Greybeard
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Thu Nov 24, 2011 5:08 pm    Post subject: Reply with quote

PaulBredbury wrote:
Netbooks are fine for running vim.

I disagree - gvim's syntax highlighting alone takes up 10% CPU time on a netbook. Scrolling a window with more than 100 lines of code is painful.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Thu Nov 24, 2011 7:48 pm    Post subject: Reply with quote

Always amaze me to see green gentoo users.
Seriously, using a source base rolling release distro with green mind... It's just like if the king of Cows own a butchery.
Back to top
View user's profile Send private message
zacinfinite
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2011
Posts: 90

PostPosted: Sun Nov 27, 2011 3:27 pm    Post subject: Reply with quote

I still feel as if there is some hidden mystery behind processing and power consumption.
Programmers in corporations don't have to pay electricity bills but individual programmers have to!
And I believe most of the time our PSU is far more powerful than we need.

Gentoo philosophy is to Have exactly what u want, nothing more nothing less. So I see no contradiction if i wana build a perfect developmental platform using gentoo, using exactly the power i need and nothing more.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10590
Location: Somewhere over Atlanta, Georgia

PostPosted: Sun Nov 27, 2011 3:40 pm    Post subject: Reply with quote

Well, there's no real mystery about the relationship between processing power and electrical power consumption: it's roughly proportional. (Some might say very roughly.) That's because digital circuits based on FETs (Field Effect Transistors) arranged in a complementary configuration only consume power when they change state (ignoring leakage current, which is typically very small). It follows that power consumption is directly proportional to clock rate. Obviously architectural differences affect performance as well but, within a given architecture, the proportionally is perfect.

The rest of your comment seems to be philosophical. If you don't need a higher performance system, by all means, do not get one.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
zacinfinite
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2011
Posts: 90

PostPosted: Mon Nov 28, 2011 3:30 am    Post subject: Reply with quote

Thats good answer.
My concern is not philosophical, its practical because in poor regions in india, africa and others, one can easily get a laptop these days (government is providing very cheap ones or you can easily get a 2nd hand). The only trouble is Power consumption bills which these people cannot bear.

education is only first step but when u wana tinker with real stuff like kernel programing or app programming then these people require heavy processing and long hours of trial and error (some places dont even have a power supply!).

I guess we gota address our power crisis fast.
Back to top
View user's profile Send private message
v_andal
Guru
Guru


Joined: 26 Aug 2008
Posts: 541
Location: Germany

PostPosted: Mon Nov 28, 2011 9:04 am    Post subject: Reply with quote

zacinfinite wrote:
I guess we gota address our power crisis fast.


I think, this is pure philosophy. Is there any sense to degrade your efficiency in order that someone else can be more efficient? In other words, is there any sense in acting as if you have problems with power, when in reality you don't have them?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum