Active Topics

 


Reply
Thread Tools
Posts: 31 | Thanked: 10 times | Joined on Jan 2009 @ Indiana
#1
As a general rule are there types of programs that need to have a reboot in order to be truly 'gone' or installed? I ask this because when I am at work and away from my charger I don't want to waste precious battery life by rebooting. As a Linux newbie I am wondering about programs that may stay in memory (or whatever) and won't be removed till a proper shutdown is done. An example would be my backlight. I have advanced backlight installed and my battery drained quickly today at work. So fast that I didn't get a full day out of light use. I changed the settings in the control panel and the backlight would not go off even after I locked my N810 with the lock button. After a reboot it was back to normal. Had I known I needed a reboot I would have done it after installation but I didn't see anything indicating I needed to do that. Just wondering if there is a Linux rule of thumb that should be followed when installing/uninstalling. Thanks
 
Posts: 473 | Thanked: 141 times | Joined on Jan 2009 @ Virginia, USA
#2
Originally Posted by RavMan View Post
As a general rule are there types of programs that need to have a reboot in order to be truly 'gone' or installed? I ask this because when I am at work and away from my charger I don't want to waste precious battery life by rebooting. As a Linux newbie I am wondering about programs that may stay in memory (or whatever) and won't be removed till a proper shutdown is done.
Generally speaking, no. Speaking as a N8x0 newbie but an experienced Debian user, a properly packaged application has a set of scripts which are called when installing or removing. There is or can be a preinst, postinst, prerm and postrm.

The prerm generally stops the application (removing from memory), before it is uninstalled, which removes its memory footprint, then deletes the files, which removes its disk footprint.

An example would be my backlight. I have advanced backlight installed and my battery drained quickly today at work. So fast that I didn't get a full day out of light use. I changed the settings in the control panel and the backlight would not go off even after I locked my N810 with the lock button. After a reboot it was back to normal. Had I known I needed a reboot I would have done it after installation but I didn't see anything indicating I needed to do that. Just wondering if there is a Linux rule of thumb that should be followed when installing/uninstalling. Thanks
Generally, the only thing you should have to reboot for is a kernel upgrade. And since the kernel is fairly static, you shouldn't have a problem with the Maemo platform.

--vr
 
Posts: 1,950 | Thanked: 1,174 times | Joined on Jan 2008 @ Seattle, USA
#3
It guess it should be like that, but in my experience, it isn't. If I open a bunch of windows in MicroB, the NIT will remain sluggish even after I've closed them all. Rebooting fixes the sluggishness.
__________________
.
. .

Help Save This Forum
for N8x0/Diablo Users! Register and Vote for Solution #1 on this Brainstorm. (The Solution will let you see New Posts with any threads you choose -- like the N900 and Maemo5/Fremantle threads -- filtered out.) (To understand the Solution better, see these posts #17, #18, and #19.)
 
Posts: 313 | Thanked: 97 times | Joined on Jan 2009
#4
i reboot when modest mail periodically gives me error messages about "incorrect user name or password" for my gmail accounts. mostly because i don't know what else to do. seems to help sometimes. does anyone else do this?
 
Posts: 187 | Thanked: 23 times | Joined on Aug 2007
#5
Unfortunately I need to reboot every time I finish using Skype.... cannot lock the device otherwise.
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#6
I would agree with the statement that the only thing you should have to reboot for is a kernel update (or a very serious lock-up). However, there are times where it is simpler (especially for new users) to just reboot, because you sometimes need a lot of understanding about the app, or the operation that you're performing. Sometimes, it saves time and annoyance, but getting into the Windows-mentality of rebooting to solve problems doesn't actually help you in the long run, if you still don't understand the problem.
This is essentially my line of reasoning
 
Posts: 99 | Thanked: 65 times | Joined on Jan 2008 @ Finland
#7
Originally Posted by GeraldKo View Post
If I open a bunch of windows in MicroB, the NIT will remain sluggish even after I've closed them all. Rebooting fixes the sluggishness.
That's browserd for you. browserd looks great on paper: multiple applications can use single instance of browserd for HTML rendering, saving loads and loads of memory. Applicaiton start-up times (that requires HTML rendering) are shorter, and in addition browserd puts an end to all armed conflicts on this piece of rock.

In reality, though, Browser is pretty much the only application that uses browserd. browserd is very lazy in releasing allocated memory, and that combined with the fact that browserd is always running in the background you've got yourself a daemon that ends up hogging all available memory.
 

The Following 3 Users Say Thank You to wnd For This Useful Post:
lcuk's Avatar
Posts: 1,635 | Thanked: 1,816 times | Joined on Apr 2008 @ Manchester, England
#8
the question I have to ask is, WHY does a compiler take so long to start in the first place?

a HTML renderers job is to read in files and process them into a DOM document tree with coordinates.

gcc does more than this with my source files every day and doesn't take so long to get going.
__________________
liqbase sketching the future.
like what i say? hit the Thanks, thanks!
twitter.com/lcuk
 
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#9
An HTML renderer tries to cope with all sorts of invalid or badly formed documents and do its best to produce some reasonable output for the user. This is because most web documents today are invalid HTML (just look at how many errors this page has for example).

A C compiler on the other hand has the luxury of being able to give up at the first sign of broken input and make it the developer's responsibility to produce valide code.
 
Posts: 1,213 | Thanked: 356 times | Joined on Jan 2008 @ California and Virginia
#10
I reboot all the time... I am unclean....

Aside from lock ups and slowdowns, the only "reason" I reboot is because for some weird reason, screen rotation stops working randomly, and rebooting fixes it.
__________________
----------------------------------------------------

www.ezschool.com - The best online educational experience.
 
Reply


 
Forum Jump


All times are GMT. The time now is 20:52.