Re: [Lubuntu-desktop] LXTask memory usage -- WAS: [12.04] Firefox instead of Chromium?
On 11/07/2011 11:04 PM, amjjawad HOOHAA wrote: I was wondering if someone has noticed that LXTask actually shows +100MB usage more than System Monitor and Conky so what is going on? I have System Monitor installed on Lubutnu 11.04 (was testing something) and Conky as well. While each of System Monitor (GNOME APP) and Conky are showing the same memory usage, LXTask add *100MB* to that. Example: System Monitor + Conky shows 287MB while Firefox Loaded with two tabs. On the other hand, LXTask shows 387MB. The immediate thing that comes to mind is I wonder if you're looking at the same thing. It's highly likely, but it's good to double check. Assumedly you're looking at either the virtual memory size or the resident memory size, which should be respectively ${top_mem mem_vsize n} and ${top_mem mem_res n} for conky (where n is the appropriate number); Virtual Memory and Resident Memory for gnome-system-monitor; VM-Size and RSS for lxtask; and VIRT and RES for top (just for grins), I come up with: conky: resident 25.1MiB, virtual 176MiB gnome-system-monitor: resident 292.2 MiB, virtual 874.8 MiB lxtask: resident 292.2 MB, virtual 874.8 MB top: resident 292m, virtual 874m I took a screenshot of them all to reduce error. Anyways, I guess to answer your question, it doesn't seem to be my experience that lxtask reports anything different from what other tools report for memory usage. It seems like the only one that's funky is conky. I'm guessing that I'm wrong about how to set it up, but from the searching and documentation I've found it seems to be right. Sorry, I don't use conky normally. wxl/walter P.S. firefox with 11 tabs if it matters :D P.P.S. When doing this benchmarking, we do need to let both programs run for a while. As I've said before, I feel firefox can be a bit memory leaky. I've also found Chromium gobbles up CPU on occassion (at least on the VM install I have at work). This is all sort of anecdotal, but it's worth testing. Maybe gauge CPU/RAM and then an hour later gauge again. ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp
Re: [Lubuntu-desktop] [12.04] Firefox instead of Chromium?
2011/11/8 amjjawad HOOHAA amjja...@gmail.com Guys, I was wondering if someone has noticed that LXTask actually shows +100MB usage more than System Monitor and Conky so what is going on? I have System Monitor installed on Lubutnu 11.04 (was testing something) and Conky as well. While each of System Monitor (GNOME APP) and Conky are showing the same memory usage, LXTask add *100MB* to that. Example: System Monitor + Conky shows 287MB while Firefox Loaded with two tabs. On the other hand, LXTask shows 387MB. Any idea? I have similar issue when lubuntu is installed alongside with ubuntu :/ ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp
Re: [Lubuntu-desktop] [12.04] Firefox instead of Chromium?
Please use command 'free -m' to see RAM usage. The thing that interests you most is buffers/cache and used.Jean-Pierre Vidal Piesset kirjoitti 8.11.2011 14:58: 2011/11/8 amjjawad HOOHAA amjja...@gmail.com Guys, I was wondering if someone has noticed that LXTask actually shows +100MB usage more than System Monitor and Conky so what is going on? I have System Monitor installed on Lubutnu 11.04 (was testing something) and Conky as well. While each of System Monitor (GNOME APP) and Conky are showing the same memory usage, LXTask add 100MB to that. Example: System Monitor + Conky shows 287MB while Firefox Loaded with two tabs. On the other hand, LXTask shows 387MB. Any idea? I have similar issue when lubuntu is installed alongside with ubuntu :/ ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp
Re: [Lubuntu-desktop] [12.04] Firefox instead of Chromium?
Aloha Benny, The command you are using isn't very accurate to only chromium-browser/firefox. You'd need to run it twice (before and during the test) to get a number on what chromium or ff is using. Therefor using a method the pulls in these numbers automatically by process id's or similar. @Walter: That kill -n command only kills the different processes or tabs in chromium (haven't tested it on ff yet), but not the window itself. Maybe something like killall chromium-browser will work, but we'd need to figure out if that is necessary? With metta, Chris On Tue, Nov 8, 2011 at 16:02, Benny Hult hul...@gmail.com wrote: Please use command 'free -m' to see RAM usage. The thing that interests you most is buffers/cache and used.Jean-Pierre Vidal Piesset kirjoitti 8.11.2011 14:58: 2011/11/8 amjjawad HOOHAA amjja...@gmail.com Guys, I was wondering if someone has noticed that LXTask actually shows +100MB usage more than System Monitor and Conky so what is going on? I have System Monitor installed on Lubutnu 11.04 (was testing something) and Conky as well. While each of System Monitor (GNOME APP) and Conky are showing the same memory usage, LXTask add 100MB to that. Example: System Monitor + Conky shows 287MB while Firefox Loaded with two tabs. On the other hand, LXTask shows 387MB. Any idea? I have similar issue when lubuntu is installed alongside with ubuntu :/ ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp
Re: [Lubuntu-desktop] [12.04] Firefox instead of Chromium?
It's true that I have both Ubuntu 11.04 (which I'll get rid of soon) and Lubuntu 11.04 installed but just to be extra clear, I'm just using Lubuntu 11.04 as I'm writing this. I have LXTask (installed by default) and I have installed recently System Monitor too. The figures are not the same. If some of you think conky is not accurate then let's ignore it but still, I'm having two different readings. Anyway, lovinglinux, an add-on developer for Firefox and Ubuntu Forum Moderator has suggested to use about:memory. The test that I'm willing to do is on another PC (P4 with 256MB RAM) and it has fresh new Lubuntu 11.10 installed. Thanks! P.S. Jean-Pierre I don't think Dual-Booting Ubuntu and Lubuntu has anything to do with that extra 100MB IMHO. Each on different partition and each has its own files, etc. On Tue, Nov 8, 2011 at 4:57 PM, Jean-Pierre Vidal Piesset jpx...@gmail.comwrote: 2011/11/8 amjjawad HOOHAA amjja...@gmail.com Guys, I was wondering if someone has noticed that LXTask actually shows +100MB usage more than System Monitor and Conky so what is going on? I have System Monitor installed on Lubutnu 11.04 (was testing something) and Conky as well. While each of System Monitor (GNOME APP) and Conky are showing the same memory usage, LXTask add *100MB* to that. Example: System Monitor + Conky shows 287MB while Firefox Loaded with two tabs. On the other hand, LXTask shows 387MB. Any idea? I have similar issue when lubuntu is installed alongside with ubuntu :/ ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp -- Best Regards, *amjjawad* Lubuntu One Stop Thread (Mega Thread)http://ubuntuforums.org/showthread.php?t=1844755 My Wiki Page https://wiki.ubuntu.com/amjjawad | My Launchpadhttps://launchpad.net/%7Eamjjawad | My Ubuntu Forum Profile http://ubuntuforums.org/member.php?u=941822 *My Actions Speak Louder Than My Words ||** ** I walk by faith, not by sight **|| Imagination is more important than Knowledge || **Keep It Simple and Short* ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp
Re: [Lubuntu-desktop] Help Needed
Thanks for your reply but the OP already managed to fix it: http://ubuntuforums.org/showthread.php?t=1872753 Thanks again :) On Tue, Nov 8, 2011 at 3:55 AM, ∅ maps.backw...@gmail.com wrote: I'm feeling lazy and don't want to make another forum account, even though, for lxde, I probably should. That being said, the solution is quite simple. For a login shell, ~/.profile is the go to file. This works where the login command is being used, i.e. this even works if you open lxterminal and then use said command to login within the shell, thereby creating a shell (that is using ~/.profile) within a shell (that is not using ~/.profile as it does not work for interactive shells). To put the questions to rest, this is also what is being employed by the display manager to log you in and ultimately start lxde. I believe the OP wanted to add ~/bin to his $PATH, which, actually, ~/.profile does by default, after first checking for the existence of ~/bin. Of course, it could be explicitly added with PATH=$PATH:$HOME/bin but a more elegant solution is certainly the one contained within: # set PATH so it includes user's private bin if it exists if [ -d $HOME/bin ] ; then PATH=$HOME/bin:$PATH fi To make clear what's happening here, if -d checks to see whether the given argument exists as a directory. That being said, the comment pretty clearly describes in words exactly what is happening. If you really want to first hand see the effectiveness of ~/.profile, try this: echo ace-minesweeper ~/.profile then logout and log back in again. You'll apparently be stuck in purgatory between lxdm and lxde with nothing but ace-minesweeper. Finish your game and quit and you'll be whisked off to lxde. :D I'm going to go add this to the wiki now. wxl/walter On 11/07/2011 10:57 AM, amjjawad HOOHAA wrote: Please check the OP reply: http://forum.lxde.org/viewtopic.php?f=8t=31421 On Thu, Nov 3, 2011 at 1:24 AM, Andrew Woodhead andrew.woodhead...@gmail.com wrote: On Wed, Nov 2, 2011 at 9:16 PM, Ali Linx amjja...@gmail.com wrote: A user has a problem and he posted on Ubuntu Forum but got no solution so he posted on LXDE Forum seeking for help: http://forum.lxde.org/viewtopic.php?f=8t=31421 I don't know anything about what he's asking so hope someone could help him. -- Best Regards, *amjjawad* Lubuntu One Stop Thread (Mega Thread)http://ubuntuforums.org/showthread.php?t=1844755 My Wiki Page https://wiki.ubuntu.com/amjjawad | My Launchpadhttps://launchpad.net/%7Eamjjawad | My Ubuntu Forum Profile http://ubuntuforums.org/member.php?u=941822 *My Actions Speak Louder Than My Words ||** ** I walk by faith, not by sight **|| Imagination is more important than Knowledge || **Keep It Simple and Short* ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp
Re: [Lubuntu-desktop] [12.04] Firefox instead of Chromium?
I don't know if this is correct, but I'm a little concerned for if the machines will support the test? We're talking about Pentium 3 4 and 256 to 512 ram. Ps: Ali, on my new machine i have ubuntu with lubuntu-desktop installed... readings of both monitors are different, that's what i was telling you :) ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp
Re: [Lubuntu-desktop] [12.04] Firefox instead of Chromium?
On 11/8/11 9:43 AM, Chris wrote: That kill -n command only kills the different processes or tabs in chromium (haven't tested it on ff yet), but not the window itself. Maybe something like killall chromium-browser will work, but we'd need to figure out if that is necessary? Worked for me! Of course, this is relevant assuming that script idea I had would work (re: testing opening speed). wxl/walter ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp
Re: [Lubuntu-desktop] [12.04] Firefox instead of Chromium?
On 11/8/11 2:26 PM, Jean-Pierre Vidal Piesset wrote: Ps: Ali, on my new machine i have ubuntu with lubuntu-desktop installed... readings of both monitors are different, that's what i was telling you :) ...which confirms my suspicion that Ubuntu + lubuntu-desktop even with the other KDE/Gnome/XFCE packages removed, is still not Lubuntu. I found processor usage to be completely different between a native install and this roundabout solution. wxl/walter ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp
Re: [Lubuntu-desktop] [12.04] Firefox instead of Chromium?
I don't know if this is correct, but I'm a little concerned for if the machines will support the test? We're talking about Pentium 3 4 and 256 to 512 ram. My machine is P4 @3GHz - 1M Cache. RAM is 512MB which can be dropped to 256MB. One browser will be running at one time and reading will be written down. Then the other browser will be running and same scenario applies. Then, we compare between the readings. With newer machines, users shouldn't notice any difference. With old machine, I think it might be some differences. Only test will tell :) I think my machine will be a good match for such test. It's a desktop. By the way, the HDD is IDE so it's typical old :) Ps: Ali, on my new machine i have ubuntu with lubuntu-desktop installed... readings of both monitors are different, that's what i was telling you :) If you check ALL my posts on Ubuntu Forum, you'll find out that I always keep telling the users that installing lubuntu-desktop is NOT like installing Lubuntu itself from LiveCD or LiveUSB. *I see that Walter agrees with me* :) On Wed, Nov 9, 2011 at 2:26 AM, Jean-Pierre Vidal Piesset jpx...@gmail.comwrote: I don't know if this is correct, but I'm a little concerned for if the machines will support the test? We're talking about Pentium 3 4 and 256 to 512 ram. Ps: Ali, on my new machine i have ubuntu with lubuntu-desktop installed... readings of both monitors are different, that's what i was telling you :) ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp -- Best Regards, *amjjawad* Lubuntu One Stop Thread (Mega Thread)http://ubuntuforums.org/showthread.php?t=1844755 My Wiki Page https://wiki.ubuntu.com/amjjawad | My Launchpadhttps://launchpad.net/%7Eamjjawad | My Ubuntu Forum Profile http://ubuntuforums.org/member.php?u=941822 *My Actions Speak Louder Than My Words ||** ** I walk by faith, not by sight **|| Imagination is more important than Knowledge || **Keep It Simple and Short* ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp
Re: [Lubuntu-desktop] [12.04] Firefox instead of Chromium?
On 11/08/2011 01:39 PM, amjjawad HOOHAA wrote: If some of you think conky is not accurate then let's ignore it but still, I'm having two different readings. As I understand it the top object in conky should be just like the command top. My experience says it's way off. Anyway, lovinglinux, an add-on developer for Firefox and Ubuntu Forum Moderator has suggested to use about:memory. This works in both applications. In Firefox, the vsize and resident measurements track well with VM-Size and RSS in lxtask. In Chromium, it redirects to chrome://memory-redirect/ and will even list other browsers. While this would be a boon for testing, as it wouldn't require another program to view its memory usage, it seems to be slightly off (~2-4MB low) in terms of reporting resident usage of Firefox. chrome://memory-redirect/ Regarding itself, I'm not too shocked it's off due to the fact that the memory used to report the memory isn't included. However, even though it breaks down the various processes, it seems to grossly under-report. For the main chromium-browser process (Browser in about:memory) it's off by about 20MB; the secondary one (Sandbox Helper) about 7MB; the chromium-browse process (Tab) about 17MB; and the chromium-browser -type=zygote process (Zygote) about 7MB. chrome://memory-redirect/ So in the end, it's not reliable. And because we can't use tools inside BOTH browsers to check memory usage, I suggest we forget about using about:memory. chrome://memory-redirect/ wxl/walter ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp