|
Ferdes Fides
|
 |
« on: October 25, 2011, 04:28:39 PM » |
|
Observation:
When I run LXDE on a Kingston 16 GB flash drive there is almost no discernable difference in operation from running it on my /dev/sda1 SSD.
When I run LXDE on the same model flash drive but only 8 GB capacity a definite slowdown is observed.
Speed tests on both are over 18 MB/second read speed.
Is there a way to determine the drive cache size ? Kingston spec sheet doesn't give that info. If the 16 GB has a 64k cache and the 8 GB only has a 8k cache, I'd have to place my bet that's the reason. I've read where flash drive caches were small, but I can't find the info today and I'm trying to find out the reason for this major difference in operation performance. The 16 GB's are running fine, even with KDE, but of course, they cost twice as much.
THX
|
|
|
|
|
Logged
|
ASUS EeePc 900 netbook 900mhz Celeron CPU 1GB RAM 16 GB internal SSD Seagate 250 GB USB portable drive Intel Mobile 915GM/GMS/910GML Express Graphics Controller Atheros AR5001 Wireless Network Adapter Dynex 5-Button Wired Optical Mouse Intel (ICH6 Family) High Definition Audio
|
|
|
|
djohnston
|
 |
« Reply #1 on: October 25, 2011, 04:34:50 PM » |
|
lshw is just one possible way.
*-cache:1 description: L2 cache physical id: 6 slot: L2-Cache size: 512KiB capacity: 1MiB capabilities: pipeline-burst internal varies
|
|
|
|
|
Logged
|
Bare metal VBox AMD Athlon 7750 Dual-Core Single core 4GiB RAM 1GiB RAM nVidia GeForce FX 5200 64MB video LXDE 32bit KDE 64bit
Registered Linux User #416378
|
|
|
|
Ferdes Fides
|
 |
« Reply #2 on: October 25, 2011, 04:54:53 PM » |
|
lshw is just one possible way.
*-cache:1 description: L2 cache physical id: 6 slot: L2-Cache size: 512KiB capacity: 1MiB capabilities: pipeline-burst internal varies
Hi, I actually ran that program thru the systeminfo program but that info wasn't there. I'll try it again then, maybe I missed it. THX
|
|
|
|
|
Logged
|
ASUS EeePc 900 netbook 900mhz Celeron CPU 1GB RAM 16 GB internal SSD Seagate 250 GB USB portable drive Intel Mobile 915GM/GMS/910GML Express Graphics Controller Atheros AR5001 Wireless Network Adapter Dynex 5-Button Wired Optical Mouse Intel (ICH6 Family) High Definition Audio
|
|
|
|
djohnston
|
 |
« Reply #3 on: October 25, 2011, 04:56:47 PM » |
|
lshw | less
so you can pause the output.
|
|
|
|
|
Logged
|
Bare metal VBox AMD Athlon 7750 Dual-Core Single core 4GiB RAM 1GiB RAM nVidia GeForce FX 5200 64MB video LXDE 32bit KDE 64bit
Registered Linux User #416378
|
|
|
AS
Global Moderator
Hero Member
   
Offline
Posts: 4139
Have a nice ... night!
|
 |
« Reply #4 on: October 25, 2011, 05:09:53 PM » |
|
lshw is just one possible way.
*-cache:1 description: L2 cache physical id: 6 slot: L2-Cache size: 512KiB capacity: 1MiB capabilities: pipeline-burst internal varies
lshw is actually listing only CPU(s) cache ... FF is searching info about USB flash drive cache ... 
|
|
|
|
|
Logged
|
|
|
|
|
Ferdes Fides
|
 |
« Reply #5 on: October 25, 2011, 05:10:52 PM » |
|
lshw is just one possible way.
*-cache:1 description: L2 cache physical id: 6 slot: L2-Cache size: 512KiB capacity: 1MiB capabilities: pipeline-burst internal varies
Hi, I'm reading that info as CPU info. Nothing in the lshw output regarding the cache or buffers for USB's that are attached. FF
|
|
|
|
|
Logged
|
ASUS EeePc 900 netbook 900mhz Celeron CPU 1GB RAM 16 GB internal SSD Seagate 250 GB USB portable drive Intel Mobile 915GM/GMS/910GML Express Graphics Controller Atheros AR5001 Wireless Network Adapter Dynex 5-Button Wired Optical Mouse Intel (ICH6 Family) High Definition Audio
|
|
|
|
djohnston
|
 |
« Reply #6 on: October 25, 2011, 05:15:17 PM » |
|
Sorry. Didn't catch that. Yeah, the disk descriptions for the hard drives don't show the cache size.
|
|
|
|
|
Logged
|
Bare metal VBox AMD Athlon 7750 Dual-Core Single core 4GiB RAM 1GiB RAM nVidia GeForce FX 5200 64MB video LXDE 32bit KDE 64bit
Registered Linux User #416378
|
|
|
|
Ferdes Fides
|
 |
« Reply #7 on: October 25, 2011, 05:17:41 PM » |
|
lshw is actually listing only CPU(s) cache ... FF is searching info about USB flash drive cache ...  Hi, What's the exact terminal command then. I'm not getting the right output with lshw -FF Sorry, Thanks a bunch.
|
|
|
|
|
Logged
|
ASUS EeePc 900 netbook 900mhz Celeron CPU 1GB RAM 16 GB internal SSD Seagate 250 GB USB portable drive Intel Mobile 915GM/GMS/910GML Express Graphics Controller Atheros AR5001 Wireless Network Adapter Dynex 5-Button Wired Optical Mouse Intel (ICH6 Family) High Definition Audio
|
|
|
|
Just18
|
 |
« Reply #8 on: October 25, 2011, 05:22:30 PM » |
|
lshw is actually listing only CPU(s) cache ... FF is searching info about USB flash drive cache ...  Hi, What's the exact terminal command then. I'm not getting the right output with lshw -FF Sorry, Thanks a bunch. FF ....... is you  ... an interesting observation about the speed of operation ...... looking forward to some indication of what is causing it 
|
|
|
|
|
Logged
|
MLUs rule the roost!
Linux XPS 3.2.17-pclos1.pae.bfs 32 bit Intel(R) Core(TM)2 Quad CPU Q9450 @ 2.66GHz 4 GB RAM MCP51 High Def Audio GeForce GTX 550 Ti PHILIPS DVD+-RW DVD8701 Logitech BT Mini-Receiver Afatech DVB-T 2 USB DTT
|
|
|
AS
Global Moderator
Hero Member
   
Offline
Posts: 4139
Have a nice ... night!
|
 |
« Reply #9 on: October 25, 2011, 05:22:42 PM » |
|
lshw is actually listing only CPU(s) cache ... FF is searching info about USB flash drive cache ...  Hi, What's the exact terminal command then. I'm not getting the right output with lshw -FF Sorry, Thanks a bunch. LOL!  my post was a direct reply to djohnstonpost, and I have used FF as a shorts of Ferdes Fides. My apologies!  AS
|
|
|
|
|
Logged
|
|
|
|
|
djohnston
|
 |
« Reply #10 on: October 25, 2011, 05:25:23 PM » |
|
hdparm will give you the info. Run it as root or you'll get device permission errors. This is what I did to show the info on one of my drives:
#hdparm -I /dev/sdc | grep cache/buffer cache/buffer size = 16384 KBytes
hdparm -I /dev/sdc will show you everyhting on the drive you're checking. Substitute your USB drive's designation.
|
|
|
|
|
Logged
|
Bare metal VBox AMD Athlon 7750 Dual-Core Single core 4GiB RAM 1GiB RAM nVidia GeForce FX 5200 64MB video LXDE 32bit KDE 64bit
Registered Linux User #416378
|
|
|
AS
Global Moderator
Hero Member
   
Offline
Posts: 4139
Have a nice ... night!
|
 |
« Reply #11 on: October 25, 2011, 05:28:17 PM » |
|
hdparm will give you the info. Run it as root or you'll get device permission errors. This is what I did to show the info on one of my drives:
#hdparm -I /dev/sdc | grep cache/buffer cache/buffer size = 16384 KBytes
hdparm -I /dev/sdc will show you everyhting on the drive you're checking. Substitute your USB drive's designation.
Unfortunately hdparm doesn't appear to get the info when using my Kingston-G3 8GB: # hdparm -I /dev/sdc
/dev/sdc: SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ATA device, with non-removable media Standards: Likely used: 1 Configuration: Logical max current cylinders 0 0 heads 0 0 sectors/track 0 0 -- Logical/Physical Sector size: 512 bytes device size with M = 1024*1024: 0 MBytes device size with M = 1000*1000: 0 MBytes cache/buffer size = unknown Capabilities: IORDY not likely Cannot perform double-word IO R/W multiple sector transfer: not supported DMA: not supported PIO: pio0
|
|
|
|
|
Logged
|
|
|
|
|
Just18
|
 |
« Reply #12 on: October 25, 2011, 05:29:47 PM » |
|
# hdparm -I /dev/sdm | grep cache/buffer SG_IO: bad/missing sense data, sb[]: f0 00 05 00 00 00 00 0a 00 00 00 00 26 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 cache/buffer size = unknown 
|
|
|
|
|
Logged
|
MLUs rule the roost!
Linux XPS 3.2.17-pclos1.pae.bfs 32 bit Intel(R) Core(TM)2 Quad CPU Q9450 @ 2.66GHz 4 GB RAM MCP51 High Def Audio GeForce GTX 550 Ti PHILIPS DVD+-RW DVD8701 Logitech BT Mini-Receiver Afatech DVB-T 2 USB DTT
|
|
|
|
djohnston
|
 |
« Reply #13 on: October 25, 2011, 05:34:06 PM » |
|
What a gyp! Just tried my thumb drive with same result. Does a USB flash drive have a cache chip? I'm beginning to wonder.
|
|
|
|
|
Logged
|
Bare metal VBox AMD Athlon 7750 Dual-Core Single core 4GiB RAM 1GiB RAM nVidia GeForce FX 5200 64MB video LXDE 32bit KDE 64bit
Registered Linux User #416378
|
|
|
|
Ferdes Fides
|
 |
« Reply #14 on: October 25, 2011, 05:41:45 PM » |
|
What a gyp! Just tried my thumb drive with same result. Does a USB flash drive have a cache chip? I'm beginning to wonder.
Well I'll just keep drilling and searching a little bit till I solve this cache question. Only possible factor causing the slower speed I can think of. The larger flash's must have larger caches but I need to prove it ! See if a google search has something relevant now. Thanks for the response(s) Ferdes Fides
|
|
|
|
|
Logged
|
ASUS EeePc 900 netbook 900mhz Celeron CPU 1GB RAM 16 GB internal SSD Seagate 250 GB USB portable drive Intel Mobile 915GM/GMS/910GML Express Graphics Controller Atheros AR5001 Wireless Network Adapter Dynex 5-Button Wired Optical Mouse Intel (ICH6 Family) High Definition Audio
|
|
|
|