[elektro-etc] Mi a gubanc a PC-m sebessegevel?
Xorn
toth.endre at gmail.com
Sat Aug 13 07:12:02 CEST 2011
2011/8/12 Abraham Gabor <abraham at plus7.hu>:
>> A hw es sw layer fejlesztoeszkozokkel valo eltavolitasanak a
>> mellekhatasa - hiaba o masol , a hw szinten nem tudja
>> befolyasolni a mukodest , mert a programozo nem lat el a vasig -
>> az valahol az alsobb retegek mocsaraban rejtozik.
>> Tudom , oprendszert ma nem divat gepi kodban irni , de akkor
>> meglepodni sem kell :)
>
>
> Ennek a világon semmi köze ahoz, hogy miben írják az oprendszert.
> C-ben, bármiben meg lehet oldani.
>
> Amúgy meg
>
> http://msdn.microsoft.com/en-us/library/aa364218(v=vs.85).aspx
>
> In these situations, caching can be turned off. This is done
> at the time the file is opened by passing FILE_FLAG_NO_BUFFERING
> as a value for the dwFlagsAndAttributes parameter of CreateFile.
> When caching is disabled, all read and write operations directly
> access the physical disk. However, the file metadata may still
> be cached. To flush the metadata to disk, use the FlushFileBuffers function.
Persze, ilyen van. De akkor egy file masolasakor az Intezo ezt miert
nem hasznalja...? Mert lathatoan nem hasznalja. De legalabb lehetne
bekapcsolni valahol benne registry machinacio es hasonlok nelkul.
Best regards,
Andy
More information about the Elektro-etc
mailing list