Reply
Thread Tools
Posts: 69 | Thanked: 53 times | Joined on Aug 2009
#321
Originally Posted by GeneralAntilles View Post
As I've said before, the port is USB OTG. All of the hardware is there.
Is this definitely the case? The reason I ask is that looking at http://mos.futurenet.com/techradar/c..._12-420-90.jpg and http://en.wikipedia.org/wiki/File:Types-usb_new.svg it looks like the N900 has a micro-B socket. USB-OTG devices are required to have a micro-AB socket (a square one without the bevelled corners). If it doesn't take micro-A plugs, then either it doesn't support host mode, or it doesn't comply to standards, or wikipedia is wrong. http://en.wikipedia.org/wiki/Univers...-AB_Socket_OTG
 
Posts: 271 | Thanked: 220 times | Joined on Sep 2009
#322
Originally Posted by patstew View Post
Is this definitely the case? The reason I ask is that looking at http://mos.futurenet.com/techradar/c..._12-420-90.jpg and http://en.wikipedia.org/wiki/File:Types-usb_new.svg it looks like the N900 has a micro-B socket. USB-OTG devices are required to have a micro-AB socket (a square one without the bevelled corners). If it doesn't take micro-A plugs, then either it doesn't support host mode, or it doesn't comply to standards, or wikipedia is wrong. http://en.wikipedia.org/wiki/Univers...-AB_Socket_OTG
http://focus.ti.com/general/docs/wtb...emplateId=6123


as for standards (or failure to adhere strictly to them)...just get one of these:
http://www.buy.com/retail/product.as...ingid=41883616

You can also pick up a battery-driven powered usb hub to complete the ensemble

Last edited by texaslabrat; 2009-09-20 at 00:03.
 
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#323
Originally Posted by GeneralAntilles View Post
Actually, ext3 is better for flash than having to repair the filesystem every time you run out of power. The journalling is a much smaller burden than fscking the whole fs on boot. So, no, you're mistaken.
If ext2 & ext3 are the only choices I'd pick ext2 for the internal flash device (microSD cards that will be very cheap to replace by the time they are out of warranty are a different matter).

Running out of power should be an exceptional event, while the journalling is active the entire time the filesystem is mounted. While it's on, every time you change a single bit on the fs the system will have to re-write at least two entire eraseblocks on the flash (one for the journal, one for the actual filesystem data/metadata, depending on the mount options used). Wear-levelling or not, that seems too excessive for my liking.

The main issue IMHO is handling an interactive e2fsck when things go pear shaped (but ext3 doesn't eliminate the need for that completely either).
 
GeneralAntilles's Avatar
Posts: 5,478 | Thanked: 5,222 times | Joined on Jan 2006 @ St. Petersburg, FL
#324
Originally Posted by lma View Post
Running out of power should be an exceptional event, while the journalling is active the entire time the filesystem is mounted. While it's on, every time you change a single bit on the fs the system will have to re-write at least two entire eraseblocks on the flash (one for the journal, one for the actual filesystem data/metadata, depending on the mount options used). Wear-levelling or not, that seems too excessive for my liking.
This has been discussed endlessly on #maemo, and much smarter people than myself preferred ext3 (including Nokia, it appears). Observation of flash memory survival rates (nearly 100% in what I've observed) seems to bear this out.

I'll stick to ext3, thanks.
__________________
Ryan Abel
 

The Following 2 Users Say Thank You to GeneralAntilles For This Useful Post:
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#325
Originally Posted by GeneralAntilles View Post
This has been discussed endlessly on #maemo, and much smarter people than myself preferred ext3 (including Nokia, it appears).
Well, Nokia's criteria (eg reduced support costs) may not necessarily coincide with mine (device longevity, especially past the warranty period) while both are valid individually.

Observation of flash memory survival rates (nearly 100% in what I've observed) seems to bear this out.
Survival over what period and usage pattern? Keep in mind that flash writes impact the entire block device (not partition), so having things like swap, journal, .ash_history etc on the same chip have a cumulative wear effect.

BTW, there was some speculation that there's an extra (faster?) memory device in the RX-51 specifically for swap use, but I've lost track - was that ever confirmed either way? If there is, it could also be used to store the ext3 journal.
 
GeneralAntilles's Avatar
Posts: 5,478 | Thanked: 5,222 times | Joined on Jan 2006 @ St. Petersburg, FL
#326
Originally Posted by lma View Post
Survival over what period and usage pattern? Keep in mind that flash writes impact the entire block device (not partition), so having things like swap, journal, .ash_history etc on the same chip have a cumulative wear effect.
My own internal 4GB SDHC that I've been using since mid-2007 to boot from and for swap and dozens of other people's similar arrangements on both N800s and N810s.

Originally Posted by lma View Post
BTW, there was some speculation that there's an extra (faster?) memory device in the RX-51 specifically for swap use, but I've lost track - was that ever confirmed either way? If there is, it could also be used to store the ext3 journal.
There's not.
__________________
Ryan Abel
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#327
Originally Posted by lma View Post
Survival over what period and usage pattern? Keep in mind that flash writes impact the entire block device (not partition), so having things like swap, journal, .ash_history etc on the same chip have a cumulative wear effect.
Actually, it IS better to have all these on one big device, as the wear is then spread across more flash blocks, unless you plan on introducing more chips with different technologies (=higher cost + more space + higher complexity).

Anyway, if this was a real problem, we'd be flooded with N810 users with dead internal cards by now (as the N810 is swapping on a 2GB flash device = 16x shorter life span than the N900 on equal tech and number of writes).
 

The Following 4 Users Say Thank You to attila77 For This Useful Post:
Posts: 227 | Thanked: 53 times | Joined on Feb 2008 @ Lyon, France
#328
Originally Posted by attila77 View Post
Anyway, if this was a real problem, we'd be flooded with N810 users with dead internal cards by now (as the N810 is swapping on a 2GB flash device = 16x shorter life span than the N900 on equal tech and number of writes).
Not all users enabled swap space (I didn't), and when it is enabled, I wonder whether it is intensively used in practice.
 
Posts: 2,014 | Thanked: 1,581 times | Joined on Sep 2009
#329
Originally Posted by GeneralAntilles View Post
This has been discussed endlessly on #maemo, and much smarter people than myself preferred ext3 (including Nokia, it appears). Observation of flash memory survival rates (nearly 100% in what I've observed) seems to bear this out.

I'll stick to ext3, thanks.
ext3 has been shown to be the superior FS many times. This is a pretty good writeup on why. The article specifically mentions is lower power consumption. Always handy in a mobile device.

http://en.wikipedia.org/wiki/Ext3

Last edited by Bratag; 2009-09-20 at 17:09. Reason: Forgot the link
 

The Following User Says Thank You to Bratag For This Useful Post:
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#330
Originally Posted by vinc17 View Post
Not all users enabled swap space (I didn't), and when it is enabled, I wonder whether it is intensively used in practice.
Folks, please, once and for all, let the system worry about flash wear, it's more than capable of doing it, don't burden yourself with it.

As for swap usage, it will definitively be used, Linux likes to keep memory empty for cache and buffers, so if you have something that isn't too active, it will end up on the swap sooner or later.
 

The Following 3 Users Say Thank You to attila77 For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 10:40.