[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] disc cache, ramdisk, mm.



> Hejsa
>
> Jeg har et program som ikke performer så godt ifbm læsning fra disk. Når
> jeg tester forskellige muligheder for at forbedre performance, har jeg
> bemærket at læsning af den samme fil går meget bedre anden gang. Jeg
> gætter på at det er noget disk-cache, eller lign der er i spil. Mine
> spørgsmål er:
>
> 1) Hvordan kan jeg (uden at reboote) slette forekomsten af filen i ram,
> således at anden gang performer ligeså dårligt som første (så jeg ikke
> skal reboote efter hver test)

Det kan du ikke. ikke engang ved at afmontere og derefter montere en
partition. Men du kan bruge et medie som kobles fysisk fra. F.eks et
stykke flash ram på USB.

> 2) Kan man på en pålidelig måde udnytte denne cache? Fx ved at loade
> alle filer på forhånd i et andet program, således at når mit program
> skal læse dem går det hurtigere?

cat * > /dev/null

/kallenberg



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2007-07-01, 02:02 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *