|
From: Mark K. <mar...@co...> - 2003-11-16 03:34:49
|
On Sat, 2003-11-15 at 18:03, Christian Schoenebeck wrote: > Es geschah am Sonntag, 16. November 2003 00:15 als Mark Knecht schrieb: > > Sitting idle, on my Athlon-XP 2600+ with 512MB, LS is using 0.7%. Even > > banging away on it, but being careful not to use too many notes, it > > never gets above 5% on my machine. I don't think this means much, but > > it's a data point. > > Benno is using a compressed gig whereas you most probably are using a normal > one. That's the reason for the cpu usage difference. OK. > > > > You could try to load up LS to 256 voices and see how much CPU > > > it uses. > > > but in that case increase the preload size too > > > audiothread.h:#define NUM_RAM_PRELOAD_SAMPLES 65536 > > > > Tried it. The program dies somewhere around 120-140 voices complaining: > > > > Wizard root # linuxsampler --numfragments 2 --gig > > /mnt/samples/Gigs/Pianos/Bardstown\ Audio/The\ Bosendorfer\ Imperial\ > > Grand\ Version\ 2.2.gig > > Loading gig file...OK > > WARNING, can't mlockall() memory!: Cannot allocate memory > > WARNING, can't mlockall() memory!: Cannot allocate memory > > That's a sign of low free memory when it's unable to lock it. This only popped up when trying to allow 256 voices on 512MB. I will grant you that my GSt machine has 768MB and is only allowed to do 96 voices, so I'm not overly concerned, but I am curious what's driving this. What's the equation for how much memory is required by LS right now? And can't one simply allocate less memory and take a risk of drop outs because we have less of the sample in memory? Or are there hints in the gig file that are telling you what to do? I should try some smaller libraries and see what happens. - Mark |