- 08-23-2007, 02:08 PM #2826
- 08-23-2007, 02:22 PM #2827iPhone Nanite
- 2 Posts
Testing this indirectly such as browsing or loading a video probably isn't going to tell you anything.
Note, that if you implement any code to test this, you should at least write-fault all the pages in that region rather than just allocate. On most VM systems, allocation only results in a reservation against swap or reservation against memory depending on the OS and configuration. And if you just read-fault the pages, it may allocate-on-demand but free them as needed, which isn't a valid test.
- 08-23-2007, 02:29 PM #2828
Somewhere back in the thread I mentioned we should write to the allocated memory (seems so long ago :-)
I'm also assuming demand paging, but we haven't seen clear evidence of it yet (since we seem unable to use enough memory to get it do anything), and it does seem to pre-load its default working set, which speaks against a pure demand-paging implementation.
- 08-23-2007, 02:55 PM #2829
man 3 notify:
A client using notify_check() to determine when to invalidate a cache.
- 08-23-2007, 03:20 PM #2830
Cache is different than VM. I don't know what apple means by "shared memory" though it sounds like it would be the equivalent of shared code pages (something like windows dlls?)
Unfortunately both cache and VM use some of the same terminology (at least in academic circles, which is where my knowledge of memory hierarchies is rooted), so it gets confusing.
- 08-23-2007, 07:51 PM #2831
- 08-24-2007, 01:18 AM #2832
- 08-24-2007, 01:25 AM #2833
- 08-24-2007, 08:33 AM #2835
The iPhone doesn't "pretend to be" anything. It's a phone. A mere tool. It doesn't hate you. It didn't beat you up in third grade. Now, Archie and Jobs might pretend it's greater than it is, but that's a different story entirely.
As for me, I'm just happy I can write code for the thing to make it do what *I* want. The rest of the fools that bought them hoping that Apple will someday make it do what *they* want are... fools. Those who bought it because it already did what *they* want are not fools (but probably are a tad wealthy).
To follow up on mikec's comment: I give this thread a zero point zero.
- 08-24-2007, 08:53 AM #2837
- 08-24-2007, 09:08 AM #2838
- 08-24-2007, 09:17 AM #2839
- 08-24-2007, 09:26 AM #2841
- 08-24-2007, 09:28 AM #2842
- 08-24-2007, 09:48 AM #2843
Most of the memory in my Treo is filled with applications and databases. I spend lots of time managing the available 3 gigs. I frequently try to install apps for which I do not have adequate storage. For example, I love Avantgo, find it near essential for using the web on the Treo. If I install it, no room for anythng else.
Because of the better browser and UI on the iPhone, I do not need an application like Avantgo.
While I never have enough, I feel less storage constrained on the iPhone than on the Treo. (I remember when a gig filled a box car and one could not move that boxcar a mile for the price of an iPhone. It took a year and half to read that gig if one could maintain rated speeds.)
- 08-24-2007, 09:49 AM #2844
- 08-24-2007, 09:52 AM #2845
To save you reading 142 pages of speculation, I have contended that the iPhone, with 128 MB SDRAM, is RAM constrained, and therefore had a hard limit to the size and number of images it could load for example, and the number of large web pages it could have open simultaneously.
Others have disputed this, saying the iPhone runs "real OSX", and therefore had virtual memory, which meant the apps could address much more memory than the device actually possessed.
I said embedded devices hardly ever use virtual memory.
Others said Apple thinks differently.
In short, it turns out I was right.
- 08-24-2007, 10:36 AM #2847
Let me give you a data point. Intuit sells consumer tax software and a consumer tax web app. Users of the former are declining and users of the latter are growing. It is, in part, generational. My generation will install an application that we will only use once in order not to show our tax data to Intuit. Young people simply will not do that. Of course, they really have only wages and salary, a little interest income and take the standard deduction. But twenty years from now they will still do it the way they are learning today.
I am planning a trip into New York City for next week. I plan to take my iPhone rather than my Treo. Therefore, I am doing with web apps things that I would do with local apps on the Treo. One of the things that I like is the ability to store my planning results with a simple bookmark. Another is that I do not have to worry about the currency of the database. Yet another is that the applications are richer.
Since I have this 680 that I never use, I was planning to give it to my great nephew for his eleventh birthdsy. (Yes, I spoil him; that's my job.) I am sure that if I offer him the choice, he will choose the iPhone. It really is a better product for him. He has been synching his iPod since he was seven (He is on his second one). He cannot tell you why the iPhone is better for him but he knows.
- 08-24-2007, 11:52 AM #2848
the failure rate of iphones is less than 1%, much lower than industry standards, according to Business Week.
- 08-24-2007, 12:16 PM #2849
- 08-24-2007, 12:21 PM #2850
Well, the Engadget folks have a post that the iPhone is now unlockable. (software to be available shortly?).
They seem very giddy about this.
I'm curious if Apple will zap this in the next update, despite the claims it's zap-proof.
They will probably will have some code in iTunes that says "if phone number = n/a, they delete all and send us an email reporting the offender." ;-)