Package: bc Version: 1.06.94-3 Severity: normal If you have a multi-core CPU (as Intel Core2 Duo) and use bc to calculate something, only 1 core is used. Try this:
$ echo "scale=5000; 4*a(1)" | bc -l This function will calculate "Pi (3.14159...)" with 5000 decimal precision. In my machine is necessary 38sec to finish. In meantime, use "top" (and press '1') to see CPU usage. You will see that CPU0 go to ~99% and CPU1 go to ~1%. I think that if *all* cores is used, time decrease to a half! Best regards, Renato S. Yamane Brazil -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing'), (50, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.27.8 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages bc depends on: ii libc6 2.7-16 GNU C Library: Shared libraries ii libncurses5 5.6+20080830-2 shared libraries for terminal hand ii libreadline5 5.2-3 GNU readline and history libraries bc recommends no packages. bc suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

