Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

p7zip 4.65 for FreeDOS (performance) (Announce)

posted by Rugxulo Homepage, Usono, 26.05.2009, 21:46

> > > I can only guess because of WATT-32 + GNU pth slowing it down
> (although
> > > admittedly MSVC might be better than GCC these days, too).
> >
> > And DGJPP C file I/O library costs 10% ...
>
> I don't think it's that bad. Usually it's pretty good performance.
> (Although WATT-32 is much slower than libsocket, but I don't think the
> latter works anymore ... at least not for my weak efforts.) But it depends
> on what the C library was compiled for. You could probably get better
> performance recompiling the C lib from CVS with latest GCC via
> -mtune=i686 (2.04 used GCC 3.3.2, I think, while 2.03p2 used 2.8.1,
> both almost definitely using the default -mtune=pentium, heh).

The real problem is relying on sockets (which are only needed for GNU pth using the high-level pthreads API). It's too complex, and I'm too unfamiliar to strip it out myself. This was one advantage to Kostylev's builds, he used FSU Pthreads, which didn't need sockets. However, I'm lucky I was able to build it at all (and my patch should make it 100% possible for anyone to do so).

In particular, IIRC, I compiled 4.65 with -Os (G++ 4.3.2) because it's such a huge bloated program (and -O2 wasn't much faster, if at all, in my testing). 7za got "-mtune=i686" and (for comparison / equality) 7zr got "-mtune=i586". You might (??) get better with latest G++ 4.4.0, but don't count on it.

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 357 users online (0 registered, 357 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum