Lista winnt@man.lodz.pl
[Lista archiwów] [Inne Listy]

Re: [WINNT] Ustawienie trybu pracy USB na sztywno

To: winnt@man.lodz.pl
Subject: Re: [WINNT] Ustawienie trybu pracy USB na sztywno
From: robot <robot@o2.pl>
Date: Fri, 11 Mar 2016 09:07:30 +0100
W dniu 2016-03-11 o 02:20, Krystek pisze:
W dniu 2016-03-10 07:45, robot pisze:
W dniu 2016-03-08 o 09:29, robot pisze:
W windowsie dla podłączonego urządzenia przez usb - zewnętrznego
dysku, czy pendrajwa; można ustawić dwa tryby pracy:

- szybkie usuwanie - wysoka wydajność

Jak ustawić jedną z tych opcji na stałe, tak żeby każde
podłączone w przyszłości urządzenie usb od razu pracowało w
takim trybie jak JA CHCEM?

Nie mogę uwierzyć, że nikt nie wie lub nie ma takiej opcji.
Przecież usb jest tak bardzo popularne i często używane.

Może tym programem? - <http://www.uwe-sieber.de/usbdlm_e.html>

USBDLM - USB Drive Letter Manager for Windows

<http://www.programosy.pl/program,usb-drive-letter-manager.html>


Dzięki.
Rzeczywiście wygląda na to, że ten programik to potrafi.

Z opisu programu:

Policy "Optimize for performance" for USB drives

Under XP and higher for USB drives there are the policies "Optimize
for quick removal" (default) and "Optimize for performance". For the
latter Windows pretends to activate a write cache. But it does not
when the drive is a "Removable drive" as most of the USB flash
drives are. The only effect is that it's allowed then to format them
with the NTFS file system. And with NTFS, XP and higher indeed
activate a write cache, also on other computers because the write
cache on NTFS drives is independent of the policy. It's all about the
permission to format a "Removable drive" with NTFS. For FAT formatted
USB harddrives "Optimize for performance" indeed activates a write
cache. With NTFS there is always a write cache.

USBDLM can set the policy "Optimize for performance" for all USB
drives:

[Settings] OptimizeUsbDrivesForSpeed=1

For drives attached for the first time it works immediately.
Existing drives must be reattached two times (on first reattach the
entry is made, on second reattach it takes effect).


Najciekawsze jest to zdanie:

"With NTFS there is always a write cache."

Czyli wychodzi na to, że tak jak pisał Dominik & Co przestawianie na
większa wydajność nie ma większego znaczenia.

Chociaż nadal to jest nieco enigmatyczne ponieważ dalej czytamy:

Under XP and higher FAT formatted USB drives have no write cache by
default. For USB harddrives (DriveType FIXED) a write cache can be
activated by setting the policy "Optimize for performance" while this
has no effect for removable USB drives (DriveType REMOVABLE). By a
registry value the activation can be forced, its name is
WriteCacheEnableOverride, setting it to 1 activates a write cache
even on FAT formatted USB removable drives. Of course it is required
then to use the "Safely remove hardware" facility or another tool as
my RemoveDrive or EjectMedia to prevent data losses.

Chyba w wolnej chwili porobię jakieś testy i zobaczę jak to wygląda w praktyce.

<Pop. w Wątku] Aktualny Wątek [Nast. w Wątku>