Hi,

> > After creating the missing files by myself I called make again and this 
> > time they are 
> > automatically created (although they already have been there)... and dvbcut 
> > was also 
> > build succesfully. 
> 
> Actually, they should be created when you run "make dep" for the first
> time. And they're only deleted by "make distclean".

Ah,,... did't tried a 'make dep'... just wondered why they are created when 
they are already there,
whereas before when they was missing they not have been created!
> 
> > PS: Has disabling the mmap part under windows any disadvantages?
> 
> I'm not sure if mmap ever had any advantages on Windows at all, compared
> to read.
> 
> On Linux/Unix, I would claim that mmap is a little faster (but not
> much). On Windows, the difference in performance (if there is any)
> doesn't matter because mmap didn't work correctly in the first place.
> But if someone can provide a working implementation (in particular, one
> that also works with files >= 2 GB), we can turn mmap on again and compare.
> 
OK, if it's just an neglectable performance issue it doesn't really matters if 
switched off...
just wondered that you could easily switch it off by just disabling 20 
consecutive lines of code. ;-)

> Note that mmap isn't optimal either. What I really would like to try is
> direct disk access (O_DIRECT) on Linux. Unlike raw device access, it
> still reads/writes files (with some alignment restrictions), but it
> doesn't cache the data.

Yeah, that could give a boost in performance...

Found a nice IBM article on that issue (for AIX): 
http://www.ibm.com/developerworks/aix/library/au-DirectIO.html  

But there (on AIX) you have to enable this additionally by a mount option, 
which is not really
practical for our application. But I don't know how that is implemented under 
linux...
Also you may have to read (sequentially) larger chunks of  data, since you 
don't 
benefit anymore from read-ahead algorithms.

And this (http://kerneltrap.org/node/7563) containes a nice statement of 
Mr.Linux against DIO! ;-)
Very funny...  :-)

ciao
Ralph

-- 
 =======================================================
  Ralph Glasstetter                                       
                                                                     phone      
               0721 359166
  Rüppurrer Str. 62                                        email   [EMAIL 
PROTECTED]
  76137 Karlsruhe                                         fax/voice       01212 
5 107 16 958
 =======================================================
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
DVBCUT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dvbcut-user

Reply via email to