PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2 > Android On TP2 Development
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #521 (permalink)  
Old 03-17-2011, 02:41 PM
ndno's Avatar
VIP Member
Offline
Pocket PC: Touch Pro 2
Carrier: Sprint
 
Join Date: Jan 2010
Posts: 421
Reputation: 3570
ndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quote:
Originally Posted by ffkip911 View Post
fish----ahhhh, gotcha. NDNO is the man, he got me up an running on it.

Now here's a question, spinning hard drives can become "etched" also, when data is stored, the spinning disk sometimes needs to be defraged-----however, i was under the impression that flash has no such drawbacks because there is nothing physically moving. so how could pushing and pulling data from one section wear it out??
The individual blocks on the SD card have a limited life cycle, like 1000000 writes or something like that. Once those writes are exhausted, they can longer be erased and written to. So if you created a swapfile and that swapfile occupies the same physical area on the card all the times, that area will wear out quickly if linux is constantly swapping inactive RAM data from/to that area. I know we use the SD card to save data / apps / etc, but writing is limited on that (unless you're constantly installing software every second of the day); also, the NAND, card driver under WinMo and Linux is smart because they're designed to do wearleveling; that is, spread out the writes evenly all over the area of the Nand/card so that no one area gets exhausted quickly. On a SD card or NAND, I believe each block contains a header section that tells the OS how many writes have been written to it, so this is how it knows what blocks have been written to more or less; I'm not sure but I believe that's how it works. I believe "reading" is unlimited but if you can no longer write to a worn out SD card, it's useless. So that's why using swapping is not recommended. The advanced features of swapper 2 is nice; you can tell it to delete the swapfile and create a new one each time android boots; when creating the new swapfile, it does at a different area of the Sd card so the previous area is not exhausted out. I believe hard drives have a much longer write life cycle. Any expert, please correct me if I'm wrong on this.

Edit: oops, everyone beats me to the explanation And mine is inaccurate about the write cycles, I guess it's in the thousands, not millions, which means you can easily wear out that card using swapping.

Sent from my FRX05-ized TP2

Last edited by ndno; 03-17-2011 at 02:45 PM.
Reply With Quote
This post has been thanked 2 times.
  #522 (permalink)  
Old 03-17-2011, 02:53 PM
ndno's Avatar
VIP Member
Offline
Pocket PC: Touch Pro 2
Carrier: Sprint
 
Join Date: Jan 2010
Posts: 421
Reputation: 3570
ndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quote:
Originally Posted by ModmyPPC View Post
When I bought my sdcard from newegg it mentioned there being a limit (Durability: 10,000 insertion/removal cycles) to the read/write cycles... Thats why im hesitant on reformating my sdcard all the time.

Im curious though if its every time I copy a file its considered one write cycle. or is it if I copyied 10 files at once thats considered one write cycle.

It cost me like 60$ its a transcend 16gb class 6.

http://ec.transcendusa.com/product/I...ID=TS16GUSDHC6
I'm not sure about Sd cards, but I know that on the Nand, the individual unit of storage is a block. Depending the the Nand hardware, a block can be 32kb, 64kb, 128kb, etc. The write cycle is per block. So if you copy a file, let's say 64kb and the block can hold 32kb, the nand driver will use 2 blocks (plus any overhead) to write that file; the driver is smart enough to use wearleveling to spread out the writes over the whole Nand; it may be similarly with a sd card.

Sent from my FRX05-ized TP2
Reply With Quote
This post has been thanked 2 times.
  #523 (permalink)  
Old 03-17-2011, 02:56 PM
ffkip911's Avatar
Bustin' ours Saven' yours
Offline
Pocket PC: Touch Pro CDMA
Carrier: Sprint
Location: Seattle
 
Join Date: Feb 2009
Posts: 1,313
Reputation: 2835
ffkip911 is a VIPffkip911 is a VIPffkip911 is a VIPffkip911 is a VIPffkip911 is a VIPffkip911 is a VIPffkip911 is a VIPffkip911 is a VIPffkip911 is a VIPffkip911 is a VIPffkip911 is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] Updated 3/11/11 New Kernel - TONS of changes!!

thanks guys---a lot of good info.

personal experience. facebook widget (the big one) tends to cause locks/no wakeups on the new kernel

swappy2 - a marked improvement, I have since changed my settings due to the great info from ya'll (plus I was looking at the info page and wasn't caching as much as I thought I would)

dropped my settings to
swap size - 64MB (down from 12
swappiness - 20 (down from 60)
recreate swap file - checked
reformat swap - unchecked

speed is still amazing!
__________________
You light 'em! We fight 'em!!
Net speed tweak by me and kozmo---give him a big "thank you"
http://forum.ppcgeeks.com/2035849-post9743.html
Reply With Quote
This post has been thanked 2 times.
  #524 (permalink)  
Old 03-17-2011, 03:12 PM
ndno's Avatar
VIP Member
Offline
Pocket PC: Touch Pro 2
Carrier: Sprint
 
Join Date: Jan 2010
Posts: 421
Reputation: 3570
ndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] Updated 3/11/11 New Kernel - TONS of changes!!

ffkip911, here's a forum on swapper 2 in which some folks used it on the Cyanogen android phones:

Swapper 2 - CyanogenMod Forum. Some good info from users.

If you have a very slow SD card, I don't think using swapper 2 is recommended as it will be very slow. But then again, there are known problems with fast SD cards (class 6 and greater).

Last edited by ndno; 03-17-2011 at 03:15 PM.
Reply With Quote
This post has been thanked 2 times.
  #525 (permalink)  
Old 03-17-2011, 06:41 PM
ffkip911's Avatar
Bustin' ours Saven' yours
Offline
Pocket PC: Touch Pro CDMA
Carrier: Sprint
Location: Seattle
 
Join Date: Feb 2009
Posts: 1,313
Reputation: 2835
ffkip911 is a VIPffkip911 is a VIPffkip911 is a VIPffkip911 is a VIPffkip911 is a VIPffkip911 is a VIPffkip911 is a VIPffkip911 is a VIPffkip911 is a VIPffkip911 is a VIPffkip911 is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] Updated 3/11/11 New Kernel - TONS of changes!!

well, if flash can only be written onto a specific number of times----what happens to internal memory on the phone---every time I get a call, it is logged (stored) onto internal memory. at the end of the day, i erase it, only to get more calls that are logged (stored) at the same location on the memory....to follow the theory to its conclusion, I( should only get X number of days that the phone can work correctly -- ie log sms, mms, email, phone calls. after that, the internal memory would have met it's max number of write's and no longer store/log calls, sms, emails etc....

EDIT: I honestly have no idea how a flash drive actually stores information....playing devils advocate helps me understand. I am not discounting all the great info that has come out about swapping, I think this helps all involved to make the decision on whether to install the program or not.

Last edited by ffkip911; 03-17-2011 at 06:49 PM.
Reply With Quote
  #526 (permalink)  
Old 03-17-2011, 06:52 PM
ndno's Avatar
VIP Member
Offline
Pocket PC: Touch Pro 2
Carrier: Sprint
 
Join Date: Jan 2010
Posts: 421
Reputation: 3570
ndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] Updated 3/11/11 New Kernel - TONS of changes!!

Quote:
Originally Posted by ffkip911 View Post
well, if flash can only be written onto a specific number of times----what happens to internal memory on the phone---every time I get a call, it is logged (stored) onto internal memory. at the end of the day, i erase it, only to get more calls that are logged (stored) at the same location on the memory....to follow the theory to its conclusion, I( should only get X number of days that the phone can work correctly -- ie log sms, mms, email, phone calls. after that, the internal memory would have met it's max number of write's and no longer store/log calls, sms, emails etc....
Memory (RAM) doesn't work the same; it's volatile memory and never needs to retain the data, unlike SD card. Different hardware.

Random-access memory - Wikipedia, the free encyclopedia

Quote:
SRAM and DRAM are volatile. Other forms of computer storage, such as disks and magnetic tapes, have been used as persistent storage. Many newer products instead rely on flash memory to maintain data when not in use, such as PDAs or small music players. Certain personal computers, such as many rugged computers and netbooks, have also replaced magnetic disks with flash drives. With flash memory, only the NOR type is capable of true random access, allowing direct code execution, and is therefore often used instead of ROM; the lower cost NAND type is commonly used for bulk storage in memory cards and solid-state drives. A memory chip is an integrated circuit (IC) made of millions of transistors and capacitors. In the most common form of computer memory, dynamic random access memory (DRAM), a transistor and a capacitor are paired to create a memory cell, which represents a single bit of data. The capacitor holds the bit of information — a 0 or a 1 . The transistor acts as a switch that lets the control circuitry on the memory chip read the capacitor or change its state.
LOL, I think you're a little obsessed with getting more "virtual" RAM out of your SD card . I wouldn't risk my SD card to be obliterated by using a swapfile; that's just a fact. This topic has probably been debated many times.
Reply With Quote
  #527 (permalink)  
Old 03-17-2011, 07:01 PM
ffkip911's Avatar
Bustin' ours Saven' yours
Offline
Pocket PC: Touch Pro CDMA
Carrier: Sprint
Location: Seattle
 
Join Date: Feb 2009
Posts: 1,313
Reputation: 2835
ffkip911 is a VIPffkip911 is a VIPffkip911 is a VIPffkip911 is a VIPffkip911 is a VIPffkip911 is a VIPffkip911 is a VIPffkip911 is a VIPffkip911 is a VIPffkip911 is a VIPffkip911 is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] Updated 3/11/11 New Kernel - TONS of changes!!

thanks---the topic has been discussed to it's conclusion. You guys rock
Reply With Quote
  #528 (permalink)  
Old 03-18-2011, 08:08 AM
turd_ferguson's Avatar
Lurker
Offline
Pocket PC: Touch Pro 2
Carrier: Sprint
 
Join Date: Mar 2011
Posts: 0
Reputation: 10
turd_ferguson is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] Updated 3/11/11 New Kernel - TONS of changes!!

I've been using this kernel since Wednesday morning and wanted to add that it's been working really well for me.

I haven't had any "death sleep" issues, and the battery life is outstanding. There was one time where it froze when I pulled down the notification tray, but that's been the only issue so far. It's starting to feel like Android came on this phone from the factory.

Thanks to everyone that puts all the work in to make this possible!
Reply With Quote
  #529 (permalink)  
Old 03-18-2011, 10:23 AM
Recursion's Avatar
Rockin' the Red!!
Offline
Pocket PC: 1.31.11Neo -- FRX06
Carrier: Sero
 
Join Date: Mar 2008
Posts: 858
Reputation: 2330
Recursion is a VIPRecursion is a VIPRecursion is a VIPRecursion is a VIPRecursion is a VIPRecursion is a VIPRecursion is a VIPRecursion is a VIPRecursion is a VIPRecursion is a VIPRecursion is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] Updated 3/11/11 New Kernel - TONS of changes!!

Update: 3.11.11 kernel on freshly FAT32 formatted sd card, no OC, running well. No SODs, every day or two i get a reboot. Charging is still slow, but not running too hot. About 122F max temp, but I do live in SW FL...ambient is about 76-78F.
__________________


Reply With Quote
  #530 (permalink)  
Old 03-18-2011, 10:27 AM
arrrghhh's Avatar
Testing Extraordinaire
Offline
Pocket PC: HTC Touch Pro 2 (RHOD400)
Carrier: Sprint
Threadstarter
 
Join Date: Mar 2007
Posts: 3,604
Reputation: 7360
arrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the community
Mentioned: 7 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] Updated 3/11/11 New Kernel - TONS of changes!!

Quote:
Originally Posted by Recursion View Post
Update: 3.11.11 kernel on freshly FAT32 formatted sd card, no OC, running well. No SODs, every day or two i get a reboot. Charging is still slow, but not running too hot. About 122F max temp, but I do live in SW FL...ambient is about 76-78F.
Good to hear!

Haven't had much in the way of kernels from WisTilt2, but I have been hashing out the new RIL with him.

Basically work on that is going great - but CDMA is really holding him up. He only has GSM devices, so he's kinda flying blind and depending on my (and rpierce99's) feedback.

So we're gonna keep chugging with that, progress is going well - I won't reveal too much, but there are going to be a lot of fixes when it is ready for general testing .
Reply With Quote
This post has been thanked 3 times.
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2 > Android On TP2 Development


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 01:01 AM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com