Throughput on USB/SCSIFS
Pages: 1 2
Rick Murray (539) 13840 posts |
Bingo! That worked. But it is bittersweet. While the files in the source archive add up to <200MB, due to various wastages it requires a lot more space on disc. Indeed, 10,701 files (131,233,330 bytes) fills the 200MB RAMdisc. If anybody would like to tweak their OS and try this on a Beagle/xM, let me know how you get on. I would do this myself, but I don’t have the OMAP3 sources, only the Pi ones (as the Pi, at least, gives me a display unless the boot fails). Shame. I’d have loved to see how fast this would have gone. |
Rick Murray (539) 13840 posts |
Looking at the code, it looks like the decision was “arbitrary”, namely a trade-off between usefulness and claiming ooodles of space in the memory map (I think the DA is “allocated” even if it is currently unused and not mapped in).
|
Rob Heaton (274) 515 posts |
I’m building an OMAP4 ROM with the RAMdisc size limit increased to 768MB. |
Rob Heaton (274) 515 posts |
The Pandaboard doesn’t like the ROM with the RAMdisc increased to 768MB, upon entering the desktop, you get a garbled display followed by a hard freeze :( The worst part is, I now have to take the case apart to replace the ROM! |
Chris Gransden (337) 1207 posts |
Unfortunately any value apart from the default causes the same crash.
You could try changing to network booting the rom. Boot up is slower but if you want to change rom a lot it’s just a case of renaming a rom to boot the one required. I use a raspberry pi as the tftp server. |
Rick Murray (539) 13840 posts |
Try around 510MB. If you go over 512MB, you would need support for a “big disc” which would require numerous things to be altered in RAMFS – 64 bit calls, addresses as sectors not bytes, etc etc. Read PRM 5a-172 to get an idea. |
Chris Gransden (337) 1207 posts |
Before I got the Pandaboard I used to use a custom rom with a 384MB ram disc on the Beagleboard Xm. It made building roms much faster but not as fast as a Pandaboard so I haven’t tried it in over a year. I assume it still works. |
Rick Murray (539) 13840 posts |
….that’s this page? Rob, try this: https://www.riscosopen.org/forum/forums/5/topics/1012 |
Rick Murray (539) 13840 posts |
[…]
I’m trying to set up the build environment on the Beagle (the 1280×1024 mode completely failed – a good quarter of the screen was off the left-hand side! it seems to be happy(ish (as in I get a display every third boot)) with 1024×768). |
Rick Murray (539) 13840 posts |
Hehe… The slow USB stick on the Beagle xM unpacks at around 1MB every 60 seconds. Accordingly, I am unpacking to SD and will copy across all the stuff once it has been unpacked. [done 46MB in the time it has taken to write this ;-)] |
Rob Heaton (274) 515 posts |
I’ll have a go at getting network booting setup on the Pandaboard. |
Rick Murray (539) 13840 posts |
<keanu> whoaaaaaa! </keanu> Rebuilt the OMAP3 image with big RAMdisc tweak on the Pi. Copied it over. Created a 384MB RAMdisc. Copied build enviro into it. Fired it off. http://www.youtube.com/watch?v=0IXjyQ2nswA It currently bombs out building SuperSample, perhaps a quirk because my board has no battery so thinks it is 1970? I’ll look some other time. |
Malcolm Hussain-Gambles (1596) 811 posts |
It would be great if more RAM was avaliable for the OMAP3/4 RAM Discs by default. It is quite difficult to use 1GB of RAM (thankfully) – of course I could boot linux and start firefox ;-) |
Rick Murray (539) 13840 posts |
Just for what it is worth… I bought myself a 500GB USB harddisc today. It isn’t really viable to burn stuff to DVD-R when we’re talking drives of these sizes. So what I am doing is taking all of the important Just copied ~12GB and Windows’ (in)famously inaccurate estimation of time said it would take about 22 minutes. It took only marginally less. I would like to say it is a little better estimating 57 minutes for 47GB, but this estimation changes as each Which means I’m perhaps getting something in the order of 750-800MB/minute. Which works out to be about 11-14MB/sec. From USB2 spinning rust, through a PC (1.6GHz Atom, not doing anything more stressful than running Firefox), to USB2 spinning rust. Both drives are, actually, USB3 capable (but the computer isn’t). So, if your SD card’s MB is megaBYTEs and not megaBITs, I’d say – ain’t so bad. (^_^) What is written on the box doesn’t always translate in to what you experience in reality. |
Malcolm Hussain-Gambles (1596) 811 posts |
Thanks Rick, when I think about my general experience with USB – it sucks (as far as throughput goes). |
Rick Murray (539) 13840 posts |
I wonder how much of this is “implementation defined”. If you have Windows XP (maybe similar for later versions?) and you go to Device Manager and then double-click on one of the “Host Controller”s in the USB subsection, on the Advanced tab it will say that bandwidth consuming devices are allocated 10%. Each USB controller has a fixed amount of bandwidth that all attached devices must share.
If you ignore the built-in SSDs in my eeePC, that’s pretty much what I’m using on everything. That said, the USB drives keep a reasonable pace with the SSDs. Cutting edge this ain’t.
You ought to do better with spinning rust (power issues aside); however for flash media (any type) there will be limitations in the speed at which devices can erase and reprogram memory cells. It seems from my experience that the faster SD cards have a few megabytes of RAM cache so they can accept burst loads at high rates (perhaps to qualify for their “Class 10”?) however expecting them to sustain that for a two Gigabyte video file… nope. It tails off and starts to run at a more sedate speed.
It might help for sharing, but I rather suspect you will just be swapping the smallish cache on a locally attached device for a slightly larger cache on a NAS (depending on how it is designed).
No. The system FSB is a laggy 16MHz. I don’t know if the Network card runs at podule speed (8MHz) or slightly faster (12MHz? 16MHz?) as I don’t have a copy of the TRM handy – I suspect it is implemented like the Econet cards used to be – a special sort of podule. Which implies three things:
Note:
|
Malcolm Hussain-Gambles (1596) 811 posts |
My problem with the RISC PC is that for some reason the networking is just not stable. Given the speed of a RISC PC is basically nothing, running via NAS or via local disc makes little difference from my point of view, which ever way you run it, it’s not going to be quick. This is totally different, but I have managed to get a NAS setup transfering at 350MB/sec over two gigabit ethernet cards, when the raw speed was only 300MB/sec [NFS caching]. I might try and do some benchmarking with tcp/ip sockets from pandaboard to linux – just to see what kind of theoretical throughput we can get. I’d guess on a pandaboard 8MB/sec if it’s multitasking would be around right as you say. The reason I’m thinking of NAS is more to do with which ever way I cut it, I’m not going to get above 15MB/sec. Very interesting info about the RiscPC though, looks like that is going to be an ongoing labour of love! Generally I think I need to do a lot more playing. |
Steve Pampling (1551) 8170 posts |
Test the power supply voltages on load. Most of these network problems seem to come back to slightly out of spec PSU’s. It is an elderly beast you know… |
Malcolm Hussain-Gambles (1596) 811 posts |
Ah! Thanks Steve, that would explain the random working/not working/crash on module load variations. |
Steve Pampling (1551) 8170 posts |
Hmmm, Fujitsu drives1 with a degrading controller (the encapsulating resin did nasty things to the chip) chilled overnight in the freezer compartment. Ran long enough to extract the 30-40MB of user data.
Before I acquired a mirror from a medical rep, I reached round the colour tube of certain kit to tweak focus pots. Can’t think why pressing keyboard buttons to configure data switches these days appeals to me :) 1 Hundreds of them, bad batch… |
Malcolm Hussain-Gambles (1596) 811 posts |
Wow! certainly one way to practise at your more colourful lingustic skills! I ran some benchmarks and on my ArminiX I can get 11964.75 KB/s when not multi-tasking, and hammering the network. |
Pages: 1 2