Android @ MoDaCo: what exactly does "himem" do? - Android @ MoDaCo

Jump to content

Galaxy Nexus Review
We put the Galaxy Nexus and Ice Cream Sandwich through their paces.

Google Music Launch
Google bring Music out of beta and launch their music store.

MoDaCo Plus / Ad Free
Hate ads? Want cool stuff? Sign up for a MoDaCo Plus / MoDaCo Ad Free account with Online Kitchen access!

Close
Open
Close
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

what exactly does "himem" do?
-----


#1 User is offline   dimiboy 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 7
  • Joined: 18-February 10
  • Devices:Nexus One
  • Twitter:@dimiboy

Posted 18 March 2010 - 05:35 PM

hi.
sorry for my noob question but what exactly does it do?
as far as i understood it disables the limit of the phone so it is able to use all its internal memory and not half... on the other hand it was said in the forum here that if i want to disable the himem i have to to reflash the rom because of a wifi driver... can anyone explain me more? i did a search here and didnt find...

0

Sponsored Links


#2 User is offline   axboe 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 7
  • Joined: 31-January 10
  • Devices:Nexus One
  • Twitter:@axboe

Posted 18 March 2010 - 06:46 PM

View Postdimiboy, on Mar 18 2010, 18:35, said:

hi.
sorry for my noob question but what exactly does it do?
as far as i understood it disables the limit of the phone so it is able to use all its internal memory and not half... on the other hand it was said in the forum here that if i want to disable the himem i have to to reflash the rom because of a wifi driver... can anyone explain me more? i did a search here and didnt find...


Technically, highmem in the kernel refers to pages of memory that don't have a permanent virtual address mapping. The ARM architecture historically didn't have support for this, which is why the stock ROM with the 2.6.29 kernel didn't support that memory bank of the board. Why they decided to design it like this, I have no idea.

The reason you have to update the wifi kernel module when you disable himem, is because you disable himem by flashing a kernel without support for himem. The kernel and modules need to be closely matched, so they always need to be updated together.

0


#3 User is offline   dimiboy 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 7
  • Joined: 18-February 10
  • Devices:Nexus One
  • Twitter:@dimiboy

Posted 18 March 2010 - 07:23 PM

so... it means if i want to stop using himem i can just restore a nandroid backup?
and will the himem affect somehow the battery? i mean will it drain faster because of all that memory available?

0


#4 User is offline   axboe 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 7
  • Joined: 31-January 10
  • Devices:Nexus One
  • Twitter:@axboe

Posted 19 March 2010 - 08:25 AM

View Postdimiboy, on Mar 18 2010, 20:23, said:

so... it means if i want to stop using himem i can just restore a nandroid backup?
and will the himem affect somehow the battery? i mean will it drain faster because of all that memory available?


You can always just nand restore, yes. High-mem will not negatively impact the battery life.

0


#5 User is offline   dimiboy 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 7
  • Joined: 18-February 10
  • Devices:Nexus One
  • Twitter:@dimiboy

Posted 19 March 2010 - 03:50 PM

so are there any down sides at all with himem?

0


#6 User is offline   axboe 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 7
  • Joined: 31-January 10
  • Devices:Nexus One
  • Twitter:@axboe

Posted 19 March 2010 - 06:15 PM

View Postdimiboy, on Mar 19 2010, 16:50, said:

so are there any down sides at all with himem?


No. It sometimes exposes bugs in drivers, I think that's especially true for arch specific drivers on ARM, where highmem wasn't available prior to 2.6.32 (or .31, I forget). On generic drivers, we ironed out those bugs way back in the day when highmem was initially introduced as a concept. That happened when 32-bit x86 machines suddenly grew more than 1G of memory. But once those are ironed out, there are no downsides. It would be better if the memory would reside in low memory, as there's some overhead associated with mapping/unmapping such pages in the kernel. But if the choice is between having that memory as highmem or not at all, there's no contest :-)

0


#7 User is offline   dimiboy 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 7
  • Joined: 18-February 10
  • Devices:Nexus One
  • Twitter:@dimiboy

Posted 20 March 2010 - 12:18 AM

well thats strange...
i applied the superboot with himem and nothing changed! how can it be? is there a way to see somewhere if actually i succeeded or something?

0


#8 User is offline   aaronpaws 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 11
  • Joined: 19-March 10
  • Devices:Nexus One

Posted 20 March 2010 - 05:31 PM

View Postdimiboy, on Mar 19 2010, 20:18, said:

well thats strange...
i applied the superboot with himem and nothing changed! how can it be? is there a way to see somewhere if actually i succeeded or something?

Run advanced task killer and check the amount of ram you have. Before applying himem with 7-8 apps open I would have around 30mb's free. Now, afterward, I have around 140-180mb's free.

0


#9 User is offline   dimiboy 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 7
  • Joined: 18-February 10
  • Devices:Nexus One
  • Twitter:@dimiboy

Posted 20 March 2010 - 10:22 PM

can it be possible that i have a different advanced task killer? it doesnt show anywhere nothing about ram...
oh and is there a way to increase the space availible for installing apps? but without using apps2sd?

0


Sponsored Links

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2012. MoDaCo uses IntelliTxt technology. Privacy Policy / Contact Details.

Skin and Language

Sign in here


Sign in options
Log in with Facebook Log in with Twitter   Go to advanced login Register Now!