Question: How to increase the use of RAM during compiling building. - Android Q&A, Help & Troubleshooting

Hi,
After compiling different ROMS I notices that during the proces, my 8 cores do max out, but my computerram 16GB in total is not used to it's full potential, it stays around 3 / 4 GB. Is this because we compile with / for 32 bit Android? I run a hard machine with dualboot ubuntu/windows 3770K processor, 256 SSD and 1 x 3 TB and 3 1TB harddrives.
ccache is also enabled and working, so i was just wondering why it would not use more computer RAM. while compiling a ROM.
Thanks

Related

[Q] Android Compiling System Requirements

Hi,
I'm looking at building a new PC that will be dedicated to android development (ICS).
I only have a couple of questions:
1) is there much difference between compiling android on a i5 2500 or Phenom X4 or X6
2) How much hard drive space is recommend? i.e. is a 120GB SSD enough
3) Is 16GB of ram enough
Thanks,
Minooch
minooch said:
Hi,
I'm looking at building a new PC that will be dedicated to android development (ICS).
I only have a couple of questions:
1) is there much difference between compiling android on a i5 2500 or Phenom X4 or X6
2) How much hard drive space is recommend? i.e. is a 120GB SSD enough
3) Is 16GB of ram enough
Thanks,
Minooch
Click to expand...
Click to collapse
More cores are better. Here are the requirements to build it from source:
- 6GB of download.
- 25GB disk space to do a single build.
- 80GB disk space to build all AOSP configs at the same time.
- 16GB RAM recommended, more preferred, anything less will measurably benefit from using an SSD.
- 5+ hours of CPU time for a single build, 25+ minutes of wall time, as measured on a workstation (dual-E5620 i.e. 2x quad-core 2.4GHz HT, with 24GB of RAM, no SSD).
Thanks for the answer - Just thought I would update on my experiences.
I use a Ubuntu 10.04 in VirtualBox (Windows 7 x64)
Core i5 750 @ 3.6Ghz
5GB Ram (for the Virtual - 8GB in total) DDR3 @ 1800mhz approx
4x 1TB Seagate HDDs in RAID 10
Takes about 1Hr 30min to build 4.0.3 using make -j4
It also uses less than 25GB for a single build

Is my laptop up to snuff to cook ROMs?

Lenovo think pad x120e
4GB ram
320 GB HDD
1.6GHz AMD E-350 dual core CPU
Or do I need to sell it and pay more money?
Sent from my One X using xda premium
mmapcpro said:
Lenovo think pad x120e
4GB ram
320 GB HDD
1.6GHz AMD E-350 dual core CPU
Or do I need to sell it and pay more money?
Sent from my One X using xda premium
Click to expand...
Click to collapse
Should be fine with the 4 gigs of ram, use ccache some decent swap, and you might need to shrink the java emulator size, also be sure to use 64 bit ics+
Here is a commit to help with the java emulator while building
https://github.com/CyanogenMod/android_build/commit/28573da93e0332a9b2cbeeb1d204ef9673172b2a
How about 2 gigs of ram ?? Will it work? Thanks in advance.
sent from my Galaxy W using XDA .
UltimHero said:
How about 2 gigs of ram ?? Will it work? Thanks in advance.
sent from my Galaxy W using XDA .
Click to expand...
Click to collapse
It might work. But very less chance of working in machines less than 4gigs of ram. 4gigs of ram would be the minimum configuration.
Sent from my Xperia Mini using xda app-developers app
I can go up to 8 gigs on this box. You think it would be worth throwing another 4gig stick in?
Sent from my One X using xda premium
mmapcpro said:
I can go up to 8 gigs on this box. You think it would be worth throwing another 4gig stick in?
Sent from my One X using xda premium
Click to expand...
Click to collapse
It's always worth maxing your memory you'll notice good performance gains and will speed up compile times significantly. 4 GB should be no more then $20-$40 so it's a great upgrade for the money
Sent from my SCH-I535 using xda premium
Thanks.
sent from my Galaxy W using XDA .
More RAM?
It should he just about enough to make a ROM, but I think you should install more RAM to your laptop, just in case.
RAM should be fairly easy to install...
Good luck on making your ROM!
2 GB RAM
Core i3 2.20 Ghz
500 GB
Win7 and andLinux installed
It should be no problem.
You see i am running Linux on my win7
Sent from my E15i using xda app-developers app
mpoendi said:
2 GB RAM
Core i3 2.20 Ghz
500 GB
Win7 and andLinux installed
It should be no problem.
You see i am running Linux on my win7
Sent from my E15i using xda app-developers app
Click to expand...
Click to collapse
You haven't got any problems cooking roms?
sent from my Galaxy W using XDA .
I have a 3Gb memory,250Gb hard drive Toshiba satellite laptop with home vista windows premium is this laptop good enough to build ROMs,kernels,apps,etc. Thanks in advance!!!
Sent from my HTC Sensation using xda app-developers app
Mesaman2012 said:
I have a 3Gb memory,250Gb hard drive Toshiba satellite laptop with home vista windows premium is this laptop good enough to build ROMs,kernels,apps,etc. Thanks in advance!!!
Sent from my HTC Sensation using xda app-developers app
Click to expand...
Click to collapse
In order to compile ROM's (AOSP from source) and kernels (From source) you will need to use a UNIX based operating system such as OSX or Linux, personally I would recommend dual booting your laptop with Ubuntu 11.10 to maximize compatibility for compiling ROM's and kernels. For making apps you can use either Linux or Windows, and I would recommend using the IDE Eclipse for Android app development. As far as actually building your hard drive is a little small and could run out of space if you intend on building a bunch of different ROM's and kernels (A full set of AOSP builds is 80+ GB), and with 3 GB of memory compile times, will be pretty slow (For example to compile an AOSP build of Android 4.2 for the Nexus 4 would probably take around 5-8 hours, kernels will take anywhere from 1-2 hours probably) also if your laptop only has a single or dual core processor this will also effect compile times.
O.k. thanks for your reply sir.so could you recommend a Linux computer that I should buy as long as what specs should I get as far as how much memory,hard drive,etc.and out of curiosity what would a computer like this cost me.I want to thank you for your time and expertise. Take care!!!
Sent from my HTC Sensation using xda app-developers app
Mesaman2012 said:
O.k. thanks for your reply sir.so could you recommend a Linux computer that I should buy as long as what specs should I get as far as how much memory,hard drive,etc.and out of curiosity what would a computer like this cost me.I want to thank you for your time and expertise. Take care!!!
Sent from my HTC Sensation using xda app-developers app
Click to expand...
Click to collapse
If your going to buy a pre-built computer with Linux pre-installed your options are limited in regards to what manufactures/boutique builders make desktops and laptops with Linux pre-installed. Here are a couple different configurations I came up with from System76 and ZaReason
Desktops
System76
Wild Dog Performance (wilp9)
Ubuntu 12.10 64 bit
5 Free GB of Ubuntu One Online Storage and Sync
3rd Generation Intel Core i5 3570K ( 3.40GHz - 6MB cache - 4 Cores )
16 GB – 4 x 4 GB - Crucial Sport Dual Channel DDR3
1 GB nVidia GeForce GTX 650
2.0 TB SATA III 6 Gb/s 64 MB Cache
2.0 TB SATA III 6 Gb/s 64 MB Cache
CD-RW / DVD-RW Dual Layer
Internal SD, Memory Stick, Compact Flash Card Reader
Internal PCI Express 802.11 bgn Wifi Card
1 Yr. Ltd. Warranty and 1 Yr. Technical Support
Total Cost: $1350
ZaReason
Limbo 5660
Linux Version: Ubuntu 12.04 LTS
CPU: i5-3570K 3.4 GHz
Desktop Memory: 8 GB DDR3-1600
Desktop Hard Drive Bay1: 500GB 7200rpm
Desktop Hard Drive Bay2: 500 GB 7200rpm
Optical Drive: CD-RW/DVD-RW
Sound Card: Intel HD Audio
PCI Networking: Gigabit Ethernet
Video card: Nvidia GT 630
Power Supply: 350 watts
Warranty: 1 year
Total Cost: $1,100
Laptop
ZaReason
Verix 530
Linux Version: Ubuntu 12.04 LTS - Most Popular
Ivy Bridge Processor: i7-3630QM 2.4-3.4 GHz, 4 cores, 8 threads 2.4-3.4 GHz GHz
Laptop Memory: 8 GB DDR3-1600
Video Card: Nvidia GT 650M 2GB
Laptop HD: 750GB, 7200 RPM
Optical Drive: CD-RW / DVD-RW
WiFi #ZWF: Intel® Centrino® Wireless-N
1st Battery: 6-cell
AC Adapters: 1
Card Reader: MMC/SD/MS
Bluetooth: Included
Webcam: 1.3 megapixels
Warranty: 1 year
System76
Lemur Ultra (lemu4)
Ubuntu 12.10 64 bit
5 Free GB of Ubuntu One Online Storage and Sync
14.1" 720p High Definition LED Backlit Display ( 1366 x 768 )
Intel HD Graphics 4000
3rd Generation Intel Core i7-3630QM Processor ( 2.40GHz 6MB L3 Cache - 4 Cores plus Hyperthreading )
8 GB Dual Channel DDR3 SDRAM at 1600MHz
750 GB 7200 RPM SATA II
United States Keyboard Layout
8X DVD±R/RW/4X +DL Super-Multi Drive
Intel Centrino Advanced-N 6235 - 802.11A/B/G/N Wireless LAN + Bluetooth Combo Module +$20.00
1 Yr. Ltd. Warranty and 1 Yr. Technical Support
Total Cost: $840
Now if your want to build your own linux desktop here is a recommended configuration:
PCPartPicker part list / Price breakdown by merchant / Benchmarks
CPU: Intel Core i7-3770K 3.5GHz Quad-Core Processor ($319.99 @ Newegg)
CPU Cooler: Cooler Master Hyper 212 EVO 82.9 CFM Sleeve Bearing CPU Cooler ($25.99 @ Newegg)
Motherboard: Asus Maximus V Gene Micro ATX LGA1155 Motherboard ($199.99 @ Newegg)
Memory: Corsair Vengeance LP 32GB (4 x 8GB) DDR3-1600 Memory ($149.99 @ Newegg)
Storage: Western Digital Caviar Blue 1TB 3.5" 7200RPM Internal Hard Drive ($86.98 @ Newegg)
Storage: Western Digital Caviar Blue 1TB 3.5" 7200RPM Internal Hard Drive ($86.98 @ Newegg)
Video Card: Gigabyte GeForce GTX 660 2GB Video Card ($217.55 @ Newegg)
Case: Antec DF-35 ATX Mid Tower Case
Power Supply: Corsair Builder 750W 80 PLUS Bronze Certified ATX12V / EPS12V Power Supply ($73.98 @ Newegg)
Optical Drive: Asus DRW-24B3ST/BLK/G/AS DVD/CD Writer ($29.98 @ Newegg)
Total: $1191.43
(Prices include shipping, taxes, and discounts when available.)
(Generated by PCPartPicker 2012-11-27 17:49 EST-0500)
With Ubuntu 12.04 LTS 64-bit (Make sure to select 64-bit from the download list). Let me know if you have any more questions.
Hey if I just wanted to build kernels my laptop would be alright wouldn't it.and are there any books,etc that you could recommend on building kernels.I want to start with small things like kernels and maybe apps. Thanks
Sent from my HTC Sensation using xda app-developers app
Mesaman2012 said:
Hey if I just wanted to build kernels my laptop would be alright wouldn't it.and are there any books,etc that you could recommend on building kernels.I want to start with small things like kernels and maybe apps. Thanks
Sent from my HTC Sensation using xda app-developers app
Click to expand...
Click to collapse
If your just building kernels and some apps then yes, your laptop should be fine. For kernel development it's important to at least have a solid understanding of C, the Linux Kernel, and embedded development for that I would recommend the following books:
Practical C Programming: 3rd Edition
Understanding the Linux Kernel Third Edition
Embedded Linux Primer: A Practical Real-World Approach (2nd Edition)
As far as book for app building goes make sure you understand Java and XML, I would check out these books:
Professional Android 4 Application Development
Head First Java (3rd Edition)
gouthamthemostwanted said:
It might work. But very less chance of working in machines less than 4gigs of ram. 4gigs of ram would be the minimum configuration.
Sent from my Xperia Mini using xda app-developers app
Click to expand...
Click to collapse
I do it with 1 gig of RAM and 18 gigs of SWAP. No joke
Enviado desde mi XT912

Android maximum RAM compatibility

Hey Guys,
Planning to create an Android X 86 on VirtualBox with massive RAM allocation .
Was wondering how much maximum RAM can Android X 86 emulator on Virtual Box take ?
Can it take upto 32 gb and function speedily?
Or will the capacity to deliver speed stops after certain amount lets say 4 gb ?
Thank you in advance.

What Hardware Do You Run Remix on?

From ancient laptops to high-end gaming rigs, Remix OS supports them all! What hardware do you run Remix on?
Here's mine
Desktop PC:
Intel Core i7-5930K (6-cores, 15MB Cache, Overclocked up to 3.9 GHz)
32GB DDR4 (8GB x 4)
128GB SSD + 2*2TB SATA
NVIDIA GeForce GTX TITAN X with 12GB
1500 Watt Power Supply
LG 34" 34UC97 curved monitor
Dell Inspiron 1121 [email protected]
Dual boot with Windows 7 64bit
4GB Ram, running great!
Acer AspireOne ZG5, 1GB Ram
Dual boot with Win7 32bit
Testing...
Acer p3, and it works great! No freezes or stucks.
Surface Pro 2
Inte Corel i5 2.30 GHz x4
Micro Center 16 GB MicroSD on Lexar USB3.0 "Blue" MicroSD Reader
I do a nice swap trick when I get the searching for Android x86 I remove the MicroSD card from USB and insert it into the built-in reader so I can enjoy the use of the official docking station. Only drawback is that the Ethernet port doesn't operate with RemixOS and WiFi from the tablet keeps dropping.
me,
CPU : amd 8350
GPU : radeon 7970
MoBo : Asrock extreme3
atuntu bench : 87k max average:angel:
Just on a dell inspiron core 2 duo with 4gig ram and a 500 gig hd. installed to the HD running as only OS.
rooted and with google play I must say I like it.
Will give this laptop to one of the kids it's perfect for that
ZOTAC IONITX-A-U Atom 330 1.6GHz Dual-Core NVIDIA ION Mini ITX Motherboard/CPU Combo
An installed version (32 GB SSD) of Remix OS beta runs successfully on a Lenovo T400 (CPU: Intel Core(TM)2 Duo P8400, Intel Mobile 4 Series Chipset Integrated Graphics Controller). Videos are shown with BSPlayer, Whatsapp runs, Skype starts and stops one second later - Problem with the graphics?
Older 32Bit IBM/Lenovo notebooks do not run with Remix OS beta 32Bit (2016-03-01): T40, T42, T43, R51. They run until the prompt of the root terminal, but do not switch into graphics mode needed for the rest of the booting process.
A Lenovo T61 runs with Remix OS beta 32bit, but not absolutely stable.
ASUS A46CB-WX024D laptop
Intel Core i5-3317U (1.7 GHz)
Intel HD 4000 and NVIDIA GeForce 740M (Optimus)
4GB RAM, 500GB HDD
Works great, with AnTuTu score of 125k. Even multitouch on the touchpad works, including gestures, but works terribly with the file manager.
Toshiba Satellite L55
i5 5th gen 2.40hz
8gb ram
1tb HDD split into three partitions 450gb for Windows, 500gb for Linux Mint, and 32gb for RemixOS on an ext4 format.
I also have a 16gb USB drive for other computers.
Dell Inspiron 7548 with UHD Display
i7 5500U 3.0GHz
16GB RAM
32GB Sandisk USB 3 Flashdrive with UEFI boot
Works amazingly well. No WiFi After sleep, however.
Acer R14 Convertible, Triple Boot (Windows 10, Ubuntu, Remix OS), Core I7, 1 TeraByte drive, 8 GB Ram.
About 18 months ago I tried to install Androidx86 directly onto my sole laptopn, an Acer Aspire 1410 (2011 I think), single core netbook, but a decent one at that.
I'm pretty dran good at making/breaking things, but this time I screwed up and lost my Windows OS, with Android never working. Then life's dramas took over, and fixing it became low-priority.
But I needed a laptop again and, right on time, Remix OS drops, and right now I have my old faithful laptop back, running my favourite OS (I really just do not need Windows anymore).
Sadly, I'm limited to running it off USB2, and I've not found a clever way of installing it to the HDD without an initial copy of Windows to work off.
Use Universal USB Formatter with a non-Linux installation method install to local drive then use rmxtools to expand the data image to whatever size you want. Then you Acer boot to RMX OS.
Lenovo IdeaPad Z710 Laptop
CPU i7-4700MQ
Memory 16GB Crucial Ballistix Sport
Graphics Card Intel® HD Graphics 4600
Dual booted with Windows 10.
Intel 730 SERIES, 240 GB, SSD, windows 10 /
Remix is on a second SSD, / Samsung 850 EVO, 500GB
my laptop
System Manufacturer ASUSTeK COMPUTER INC.
System Model G751JT
System Type x64-based PC
System SKU ASUS-NotebookSKU
Processor Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz, 2494 Mhz, 4 Core(s), 8 Logical Processor(s)
BIOS Version/Date American Megatrends Inc. G751JT.207, 4/24/2015
SMBIOS Version 2.7
Embedded Controller Version 255.255
BIOS Mode UEFI
Adapter Description NVIDIA GeForce GTX 970M
Adapter RAM (1,073,741,824) bytes
Driver Version 10.18.13.6175
Resolution 1920 x 1080 x 60 hertz
Having trouble booting. its booted beta 2 sucsessfully twice and now nothing just hangs...
cant; boot from usb stick. cant; find it and the folder it mounts normally
just keeps trying to detect androidx86...........
I try to use it on my Acer Aspire Switch 10e, aka "sw3-013 11hm"
atom z3735f quad core 1.33
2gb ram
intel hd graphics
sd card reader
1 usb 3 port on the Keyboard dock
it should be some of the best machine to use this windowed android experience, except right now it is a pain in the ass to make it work with bigger space than standard 4gb data img, because it is one of those 32bit uefi/32bit windows on 64bit capable system...
what doesn't work (the most important first, less important at the end):
sound (realtek)
full power management (sees battery and consumption but not seeing charge, and no sleep)
bluetooth (realtek)
gyro (no rotation)
Lenovo G40-30
Pentium N3530
DDR3 8GB
SSD Samsung EVO 840 500GB
VGA Intel HD
Wifi Realtek RTL8723BE
LAN Realtek PCIe GBE
Audio Relatek HD
---
My laptop wifi often disconnected, must connect manually. Some hard crashes.
surface pro 3 i3 4gb 64gb

Will a HDD slow down my AOSP builds?

Hi!
I just recently decided to switch my AOSP build server because my old one was getting way too slow at building AOSP (it would take around 3~4 hours to build 6.0.1 with ccache). I upgraded from this:
Intel Core I3 2350M (4 cores, 4 threads)
8GB RAM
5400RPM HDD
To this:
Intel Core I7 6700HQ (4 cores, 8 threads)
16GB DDR4 RAM
5400RPM HDD
Unfortunately, after trying to freshly build CM13 for the oneplus one on my new system, it STILL took 3~4 hours to complete and I feel like this 5400RPM drive is completely bottlenecking my CPU. I wasn't hoping for any miracles to happen but I was aiming for a build time of around 1 hour...
Is this drive really destroying my CPU's performance?
Thanks for your feedback!
noahvt said:
Hi!
I just recently decided to switch my AOSP build server because my old one was getting way too slow at building AOSP (it would take around 3~4 hours to build 6.0.1 with ccache). I upgraded from this:
Intel Core I3 2350M (4 cores, 4 threads)
8GB RAM
5400RPM HDD
To this:
Intel Core I7 6700HQ (4 cores, 8 threads)
16GB DDR4 RAM
5400RPM HDD
Unfortunately, after trying to freshly build CM13 for the oneplus one on my new system, it STILL took 3~4 hours to complete and I feel like this 5400RPM drive is completely bottlenecking my CPU. I wasn't hoping for any miracles to happen but I was aiming for a build time of around 1 hour...
Is this drive really destroying my CPU's performance?
Thanks for your feedback!
Click to expand...
Click to collapse
Yes
Sent from my GT-S7580 using Tapatalk

Categories

Resources