Ok - I noticed some Firefox 3 updates in Hardy, so I thought I'd
re-'strace' it to see if it was using /dev/urandom instead of
/dev/random. I can't verify that this "fixes the slowness problem"
because I'm on my own LTSP server (only 2 clients attached) but to me,
anyway, it looks like /dev/urandom is being utilized. I'm on Ubuntu
8.04.1, Firefox 3.0.5, latest Ubuntu package updates as of 2008/12/22,
updated client chroot.

----
jerick...@fibonacci:~$ strace firefox > trace.txt 2>&1

*Does some random browsing*

jerick...@fibonacci:~$ ls -lh trace.txt 
-rw-r--r-- 1 jerickson jerickson 11M 2008-12-22 14:58 trace.txt
jerick...@fibonacci:~$ grep random trace.txt > strace.txt
jerick...@fibonacci:~$ less strace.txt 
*******************************************************************************
strace.txt
open("/dev/urandom", O_RDONLY|O_LARGEFILE) = 10
open("/dev/random", O_RDONLY)           = 20
open("/dev/urandom", O_RDONLY)          = 27
open("/dev/urandom", O_RDONLY)          = 40
stat64("/dev/urandom", {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 9), ...}) = 0
open("/dev/urandom", O_RDONLY)          = 40
strace.txt (END) 
*******************************************************************************
----

Not only does it seem that /dev/urandom is being utilized now, but it
seems that the number of times /dev/urandom is being accessed has been
greatly reduced overall.

Please, everyone, do as much testing as possible so we can see if this
issue is still present or not. I will test some of my own schools as
soon as school is back in (around the 1st of the year).

- Jordan/Lns

-- 
Extreme slowness, "Firefox is already running" error for >3 users launching 
Firefox in LTSP environment
https://bugs.launchpad.net/bugs/269188
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to