1 |
On Thursday, 26 November 2020 00:10:00 GMT Michael wrote: |
2 |
> On Wednesday, 25 November 2020 17:37:15 GMT Dr Rainer Woitok wrote: |
3 |
> > Greetings, |
4 |
> > |
5 |
> > since my old 64 GB Verbatim USB sticks became too small, I bought two |
6 |
> > new 128 GB Philips sticks. Because I need to read and write them on |
7 |
> > both, a stand-alone Windows laptop (not connected to the internet) runn- |
8 |
> > ing Windows Vista and Cygwin and my Gentoo laptop, I encrypted them with |
9 |
> > old TrueCrypt on the Windows box, using them under Gentoo in TrueCrypt |
10 |
> > compatibility mode. |
11 |
> > |
12 |
> > This worked well with the Verbatim USB sticks (which probably are USB |
13 |
> > 2.0), but while reading the new USB 3.0 Philips USB sticks is signific- |
14 |
> > antly faster than reading the old Verbatim USB sticks, writing to them |
15 |
> > is slow as hell under Gentoo. And writing to the Philips USB sticks on |
16 |
> > the old Vista laptop with USB 2.0 ports clearly outperforms writing to |
17 |
> > them using the Gentoo laptop's USB 3.0 ports. |
18 |
> > |
19 |
> > This could be a problem with TrueCrypt/VeraCrypt or with somehow miscon- |
20 |
> > figured USB ports. To check for the latter I provide below all kernel |
21 |
> > configuration variables I regard USB related in the hope that some know- |
22 |
> |
23 |
> > ledgable people might find a glitch in there: |
24 |
> Check dmesg to see if initialisation of the USB 3.0 drive throws up any |
25 |
> errors. Then check 'lsusb -t' to make sure it has been recognised as a USB |
26 |
> 3.0. |
27 |
> |
28 |
> If write operations without TrueCrypt/VeraCrypt are equally slow, then |
29 |
> obviously the problem is not with encryption. |
30 |
> |
31 |
> I've read in a number of articles the erase block size on most USB flash |
32 |
> (NAND) is 128KB, which incurs a lot of operations on a write, when using |
33 |
> Linux with its 4K size sectors. Partitioning the USB drive to use 128KB |
34 |
> sectors and then aligning the fs on it should improve matters. |
35 |
> |
36 |
> I found this article which mentions an experiment with ext4 fs. A more |
37 |
> effective search should hopefully bring up examples on FAT fs. |
38 |
> |
39 |
> HTH. |
40 |
|
41 |
Apologies, I seem to have forgotten to include the link. Here's another link |
42 |
I came across today and which offers more detail on this topic: |
43 |
|
44 |
http://wiki.laptop.org/go/How_to_Damage_a_FLASH_Storage_Device |