Vyhledani 0 grepem

Martin `MJ' Mares mj na ucw.cz
Středa Září 6 17:29:31 CEST 2006


Zdravim!

> (1) "prikaz -i" muze delat spoustu vylomenin a teprve po nich dojde k
> otevreni souboru a cteni dat. Nasledkem "cat | prikaz" je ale skutecny
> soubor otevren hned a data nabufferovana (resp. jestli tomu dobre
> rozumim, je tam hned nekolid bufferu, ale to ted pomineme)

To je pekna teorie, ale takove zrychleni by bohuzel bylo hluboko pod
hranici meritelnosti, protoze buffer, o kterem je rec, je vzhledem
k prenosove rychlosti disku zanedbatelne maly.

> Pokud je "soubor" (uvozovky viz pripad 2) lokalni, je to (temer) jedno.
> Pokud je ovsem cena otevirani (presneji "zacatku" cteni) relativne
> vysoka,

A kdy je? :-)

> (extrem1) -- kdyz je "prikaz" opravdove pako a nejak (spatne (vetsinou
> ==po moc malinkatych kouscich)) si sam bufferuje vstup muze to delat
> problemy na nelokalnich souborech kde je drahy kazdy pristup a z
> nejakeho duvodu je nebufferuje OS, tak (to si ale jen predstavuju)

No prave, ted jde o to, kde tu predstavu v realnem zivote najit :-)

> This e-mail and any attachment is for authorised use by the intended
> recipient(s) only. It may contain proprietary material, confidential
> information and/or be subject to legal privilege. It should not be
> copied, disclosed to, retained or used by, any other party. If you are
> not an intended recipient then please promptly delete this e-mail and
> any attachment and all copies and inform the sender. Thank you.

... shake well before use, best before date printed on the bottom of the
bottle, don't forget to feed your lawyers daily, eating silly disclaimers
can be harmful for mental health, can be hazardeous if put
into a box full of explosives ... :)

(Zvlaste pitomy disclaimer, zvlaste, kdyz intended recipients zahrnuji
v pripade verejne konference cely svet ;) )

					MM


Další informace o konferenci Linux