Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

CHM reader in DOS (Announce)

posted by marcov, 02.04.2009, 10:35

> A lot of RAM usage is just caching for extra speed.

Well, everything above 12k in a machine with virtual memory. (one page stack, one page code, one page data)

> As processors get faster, you'd think that would go down, but for some > reason, every x86 cpu
> has "gotchas" where "you can't do this and this, such and such must be
> aligned, and blah blah is slow unless you pair it with this and that". (It
> must be super hard to design an easy-to-program-for processor that is also
> fast.)

In my case, the biggest limit is writing to disk. I have to rate limit the amount of that that goes to disk, since in an ordinary system, the HD/Windows can't store it. (100MByte/s is the theoretical max, but you can't keep that up sustained). Some customers that really wanted all images bought storage arrays. That helped.

> > In one of my apps I have pictures of 4096x7000x8bpp which are 28MB each.

> I almost expect you to say, "Widescreen monitors are cheap,

Wouldn't know. Never bought one. I'm sitting here behind my main (CRT) monitor. Would love a flat one, the money is there, but even top monitors can't match my current resolution (2048*1536) on this ole CRT.

I don't get the widescreen hype at all, except the marketing bit that for the same diameter, a widescreen screen has less pixels. IOW a 42cm diameter 4x3 has more pixels afaik than a 42cm widescreen one. (and 16x9 is worse than 16x10)

The number of times that I watch fullscreen video on my computer monitor is a couple of times a year, while I work behind it every day.

> Even 8bpp is a waste of the spectral bandwidth. This is not 1988
> anymore."

????

> > I couldn't even fit that on such HD. (which actually wasn't my first.
> My
> > first was 40MB, but later I got 10MB discs in a second machine. It was
> > cheap because it was MFM and nobody wanted it anymore)
>
> Obviously you shouldn't stick to 10 MB of RAM. The whole point is that > 1
> GB is enough to fit an entire OS in (and a semi-modern one, too!).

Well, that limit is not hard, and shifts with time. There have been people making the same argument for 4kb, 64kb, 640kb, 16MB, 64MB, 512MB etc.

I'd put the number on 2GB. Unless you use Vista, then go to the next switch.

Without VMs or specially memory hungry programs, I have enough with 2GB. 1GB is simply to little if you use GNU tools, since I saw GNU LD use 1.6GB to use a 6MB app. It is quite inefficient.

> GBs indefinitely while code
> won't usually surpass a few MB, if even).

My main app where I spend every working hour on, is +/- 1.5-2MB. (made with Delphi 2006)

The app where I spend every free hour on (FPC) is about 2MB. (the main compiler binary. It is significantly bigger under 64-bit though)

 

Complete thread:

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