Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You are using a lot of apps that are leaky and eat up a lot of RAM. I would never run all of those at once. From what I see above, I think some part of XFCE may be leaking as well as Firefox (update to latest version). Maybe try another desktop environment other than XFCE.
Click here to see the post LQ members have rated as the most helpful post in this thread.
Distribution: ArchLinux 64 bit (with Openbox and fbpanel)
Posts: 136
Original Poster
Rep:
Regarding the RAM settings, here are the outputs that I know about, to see what's happening. If you could take a minute and confirm that everything matches. These are all taken within a few seconds of each other:
htop. What I find odd is that the bars for Mem shouldn't be so far across. 2566 is 78% of 3271. There are 30 bars and so 78% of those is 23. In the attached PNG you can see that they are ALL lit up. Here is the text version:
Code:
1 [|| 4.6%] Tasks: 114, 56 kthr; 1 running
2 [|| 2.6%] Load average: 0.06 0.03 0.05
3 [| 1.3%] Uptime: 1 day, 19:42:14
4 [|| 4.0%]
Mem[|||||||||||||||||||2566/3271MB]
Swp[| 153/9091MB]
PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command
1459 fred 20 0 1190M 737M 28224 S 0.0 22.5 49:41.26 firefox
1420 fred 20 0 752M 343M 27160 S 0.0 10.5 13:06.78 /usr/lib/thunderb
961 mysql 20 0 307M 167M 3144 S 0.0 5.1 15:40.78 /usr/bin/mysqld -
4962 fred 20 0 369M 154M 7764 S 0.0 4.7 3:28.80 java -Xmx192M -ja
1310 fred 20 0 134M 121M 6508 S 0.0 3.7 2:43.24 /usr/lib/xfce4/pa
1635 fred 20 0 233M 99024 22416 S 0.0 3.0 1:16.90 /usr/lib/chromium
1581 fred 20 0 396M 70236 27368 S 0.0 2.1 8:21.43 /usr/lib/chromium
5833 fred 20 0 471M 58808 17188 S 0.0 1.8 30:51.45 /usr/lib/firefox/
10672 fred 20 0 233M 57940 32432 S 0.0 1.7 0:52.50 /usr/lib/libreoff
1642 fred 25 5 198M 53700 15712 S 0.0 1.6 2:03.73 /usr/lib/chromium
6389 fred 20 0 94824 52236 4504 S 0.0 1.6 7:05.66 skype
7785 http 20 0 69784 50564 2176 S 0.0 1.5 18:45.72 /usr/sbin/httpd -
1072 http 20 0 67064 50268 2176 S 0.0 1.5 21:18.12 /usr/sbin/httpd -
1219 root 20 0 134M 49952 12092 S 2.0 1.5 37:08.20 /usr/bin/X -nolis
F1Help F2Setup F3SearchF4FilterF5Tree F6SortByF7Nice -F8Nice +F9Kill F10Quit
Here is top:
Code:
top - 16:48:13 up 1 day, 19:42, 4 users, load average: 0.05, 0.03, 0.05
Tasks: 170 total, 1 running, 169 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.8%us, 0.8%sy, 0.0%ni, 98.3%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 3349920k total, 2919088k used, 430832k free, 4576k buffers
Swap: 9310012k total, 156856k used, 9153156k free, 287868k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1219 root 20 0 134m 48m 11m S 4 1.5 37:08.93 X
6478 fred 20 0 70820 16m 9836 S 2 0.5 0:33.20 Terminal
15442 fred 20 0 4916 1748 1156 S 1 0.1 0:00.51 htop
1699 fred 20 0 201m 33m 16m S 1 1.0 24:16.41 chromium
5833 fred 20 0 471m 57m 16m S 1 1.8 30:51.57 plugin-containe
1459 fred 20 0 1190m 737m 27m S 0 22.5 49:41.33 firefox
1581 fred 20 0 396m 68m 26m S 0 2.1 8:21.50 chromium
6389 fred 20 0 94824 51m 4504 S 0 1.6 7:05.70 skype
1 root 20 0 1972 520 492 S 0 0.0 0:01.96 init
2 root 20 0 0 0 0 S 0 0.0 0:00.01 kthreadd
3 root 20 0 0 0 0 S 0 0.0 0:03.57 ksoftirqd/0
5 root 20 0 0 0 0 S 0 0.0 0:00.00 kworker/u:0
6 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/0
7 root RT 0 0 0 0 S 0 0.0 0:00.46 watchdog/0
8 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/1
10 root 20 0 0 0 0 S 0 0.0 0:04.62 ksoftirqd/1
12 root RT 0 0 0 0 S 0 0.0 0:00.42 watchdog/1
free and /etc/rc.conf
Code:
[fred@arch ~]$ free
total used free shared buffers cached
Mem: 3349920 2919964 429956 0 4596 288204
-/+ buffers/cache: 2627164 722756
Swap: 9310012 156856 9153156
[fred@arch ~]$ free -m
total used free shared buffers cached
Mem: 3271 2851 419 0 4 281
-/+ buffers/cache: 2565 705
Swap: 9091 153 8938
[fred@arch ~]$ more /etc/rc.conf
#
# /etc/rc.conf - Main Configuration for Arch Linux
#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# DAEMON_LOCALE: If set to 'yes', use $LOCALE as the locale during daemon
# startup and during the boot process. If set to 'no', the C locale is used.
# HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
# in the hardware clock being left untouched (useful for virtualization)
# Note: Using "localtime" is discouraged.
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
# VERBOSE: Verbose level (from 1 to 8). man 3 syslog for level info
#
LOCALE="en_US.UTF-8"
DAEMON_LOCALE="no"
HARDWARECLOCK="UTC"
TIMEZONE="Asia/Jerusalem"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
VERBOSE="3"
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MODULES: Modules to load at boot-up. Blacklisting is no longer supported.
# Replace every !module by an entry as on the following line in a file in
# /etc/modprobe.d:
# blacklist module
# See "man modprobe.conf" for details.
#
MODULES=(vboxdrv)
# Udev settle timeout (default to 30)
UDEV_TIMEOUT=30
# Scan for FakeRAID (dmraid) Volumes at startup
USEDMRAID="no"
# Scan for BTRFS volumes at startup
USEBTRFS="no"
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="arch"
# Use 'ip addr' or 'ls /sys/class/net/' to see all available interfaces.
#
# Wired network setup
# - interface: name of device (required)
# - address: IP address (leave blank for DHCP)
# - netmask: subnet mask (ignored for DHCP)
# - gateway: default route (ignored for DHCP)
#
# Static IP example
# interface=eth0
# address=192.168.0.2
# netmask=255.255.255.0
# gateway=192.168.0.1
#
# DHCP example
# interface=eth0
# address=
# netmask=
# gateway=
interface=eth0
address=
netmask=
gateway=
# Setting this to "yes" will skip network shutdown.
# This is required if your root device is on NFS.
NETWORK_PERSIST="no"
# Enable these netcfg profiles at boot-up. These are useful if you happen to
# need more advanced network features than the simple network service
# supports, such as multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This requires the netcfg package
#
#NETWORKS=(main)
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
# If something other takes care of your hardware clock (ntpd, dual-boot...)
# you should disable 'hwclock' here.
#
DAEMONS=(!syslog-ng @dbus @network @ntpd @netfs @crond @httpd @mysqld @oss @zramswap)
Here is ps_mem. It may not be 100% clear, but at least the relative numbers tell something:
Even if Firefox is a hog (as Thunderbird also is sometimes) it's 700 or 800 M shouldn't cause all the headaches I have. Oddly, I turned off my Xfce panel CPU monitor because it was occasionally coming to the top of htop as using a lot of RAM. No idea why.
Distribution: ArchLinux 64 bit (with Openbox and fbpanel)
Posts: 136
Original Poster
Rep:
Quote:
Originally Posted by H_TeXMeX_H
You are using a lot of apps that are leaky and eat up a lot of RAM. I would never run all of those at once. From what I see above, I think some part of XFCE may be leaking as well as Firefox (update to latest version). Maybe try another desktop environment other than XFCE.
I need to run the apps to work.
I thought 4G (even 3.5) was a lot and it could handle all this. Maybe I am wrong. Your point about Xfce is interesting and pre-empts my previous post where I mentioned the CPU monitor (we posted simultaneously it seems) and I suppose that to try another DE is actually a very good idea. I could try and see what happens.
I have noticed that when the disk / page cache gets full, the system starts to become unresponsive with short hangs. Using the above setting it helps a lot.
I'll experiment with some options to try and solve the issue. Probably a definitive solution is more RAM.
Distribution: ArchLinux 64 bit (with Openbox and fbpanel)
Posts: 136
Original Poster
Rep:
I got a 500 G USB and put on it a swap partition. I tried adding it in /etc/fstab but I failed. So now I have no swap at all, temporarily.
I rebooted and when I just launch a few apps on my fresh Xfce desktop, I hear the disk drive grinding already. I opened up a terminal and htop said 400/3271MB and then 720/3271MB when all 6 apps were launched.
And this is without Firefox.
My point is that the disk is grinding and there's LOTS of free RAM. That's how it apears to me anyhow.
If I open Thunar and browse to /srv/http and then click the little icon to show all the directories in the left sidebar, I hear the disk grind for 3 seconds before it finishes and shows the directories. There are 44 directories plus 69 files in this /srv/http . Seems bizarre that it should grind, and this with 1450/3271MB Mem in htop.
This grinding has nothing to do with RAM nor swap, as far as I can see.
I ran
echo 1 > /proc/sys/vm/dirty_background_ratio
and then played with Thunar and it still grinds. So on the one hand, this seems unrelated. This setting is a RAM paging issue and I am testing disk read I guess. But perhaps the above demonstrates that just reading from the disk is NOT working as it should. Because the physical RAM is not even 1/3 in use.
Now I figured out how to manually add the swap partition so I have
An hour after I took the above "free -m" I restarted Firefox now and the disk started to grind. I ran htop after a second or two and it said Mem 1600/3271MB and Swp 58/4999MB. I didn't time it but the grinding noise lasted like 15 seconds. Then I restarted it again, right away, before doing anything and it restarted (with 7 open tabs to load) in 5 seconds with no grinding.
I am confused and quite discouraged. Unless I am misunderstanding something, this is not a RAM problem, because I am seeing slowness and grinding with NO swap being used or with SWAP on a separate physical machine.
Here is another experiment, a somewhat scientific one. I made a bash script:
Code:
#!/bin/bash
rm -f lines.txt
date
for i in {1..5000000}
do
echo "Line Number $i" >> lines.txt
done
echo "finished" >> lines.txt
date
grep "finished" lines.txt
date
ls lines.txt -l
This is what I see when I run it:
Code:
$ ./lines.sh
Wed Dec 28 16:11:19 IST 2011
Wed Dec 28 16:14:05 IST 2011
finished
Wed Dec 28 16:14:05 IST 2011
-rw-r--r-- 1 kirk kirk 98888905 Dec 28 16:14 lines.txt
Close to 3 minutes to make a 94 MB file. This is with me doing very little else on the machine during that time. Can anyone else also run this and see?
I unfortunately don't have any other ideas for clear tests to run.
I have only two ideas left:
1. Use PAE Kernel, but this will only gain me 0.5 G physical RAM and so I don't see much reason to think it will fix my other problems
2. Reinstall using 64 bit Kernel, perhaps on a different drive. Truth is this is already a replacement drive, but I used Clonezilla to copy from the old one and maybe there is something wrong with the setup or partitions. Don't know what, but maybe.
I could try a brand new install on a separate disk and then have both disks in the same PC and see if it helps...
Distribution: ArchLinux 64 bit (with Openbox and fbpanel)
Posts: 136
Original Poster
Rep:
Doesn't seem like it found much:
Code:
$ sudo ./localfinddefrag
Password:
find: `/home/kirk/#swap.txt#': No such file or directory
find: `/home/kirk/.gvfs': Permission denied
Ouput written to /home/kirk/.defrag/output
Sorted output written to /home/kirk/.defrag/sorted
Most fragmented files
1|/home/kirk/.wine/drive_c/windows/winsxs/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4148_none_deadbeef/msvcr90.dll
1|/home/kirk/.wine/drive_c/windows/winsxs/x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.6000.16386_none_deadbeef/gdiplus.dll
1|/home/kirk/.wine/.update-timestamp
1|/home/kirk/.wine/userdef.reg
1|/home/kirk/.Xauthority
1|/home/kirk/.xchat2/keybindings.conf
1|/home/kirk/.xchat2/scrollback/FreeNode/seank.txt
1|/home/kirk/.xchat2/xchat.conf
1|/home/kirk/.xinitrc
1|/home/kirk/xx.sql
I do use one Windows app in Wine: SQLyog. It's the one app I haven't found a good replacement for, yet, in native Linux.
$ ./lines.sh
Wed Dec 28 16:11:19 IST 2011
Wed Dec 28 16:14:05 IST 2011
finished
Wed Dec 28 16:14:05 IST 2011
-rw-r--r-- 1 kirk kirk 98888905 Dec 28 16:14 lines.txt
Close to 3 minutes to make a 94 MB file. This is with me doing very little else on the machine during that time. Can anyone else also run this and see?
Tried that script:
Code:
Wed Dec 28 18:41:34 CET 2011
Wed Dec 28 18:43:20 CET 2011
finished
Wed Dec 28 18:43:20 CET 2011
-rw-r--r-- 1 tobi users 98888905 Dec 28 18:43 lines.txt
This is on a six core machine with Slackware 13.37 64 bit on 8GB of RAM, the script was run on a RAID 0-array.
I tried that on an old (hardware and software) Centos system that I happened to have a putty window open on and that was otherwise idle. It took 129 seconds. But then I realized my home directory there is an NFS mount, which makes exactly this kind of file I/O much slower than local (even though the LAN is 1Gb and the file server super fast RAID and heavily cached with ram and lightly loaded.)
So I switched to a local directory and tried it. That took 103 seconds.
I was curious how much of that time was disk I/O, so I switched to a directory on a tmpfs (with enough free ram that this test wouldn't cause tmpfs to use any SWAP) and the test took 88 seconds.
I don't really understand my middle result. I expect write behind caching to be very limited when using NFS, so the extra time there is reasonable for lots of waits for short messages across the LAN. But I expected writes to a local disk file (on a system with lots of free ram) would just go into "write behind caching" and be nearly as fast as ram. The actual disk writes should occur after the script thinks it is done.
I looked at .defrag/output now. Lines 194 through 1108 are in ~/.mozilla/firefox/
Then 1111 through 1901 are ~/.wine/drive_c/
2162 - 9835 are ~/.thumbnails/
Lots from my Trash, too.
In the end there are 357120 lines. The file is 34 MB. Perhaps that IS a lot actually. Most are "2 extents found, perfection would be 1 extent" A few are 3, 4 and 5, but just browsing through I don't see any bigger numbers than that.
Fragmentation doesn't seem to be a problem. I never get 1, in fact I'm happy with 20-40 extents.
It must be something else.
Here, I ran the script:
Code:
bash-4.1$ ./test
Wed Dec 28 21:09:40 CET 2011
Wed Dec 28 21:16:06 CET 2011
finished
Wed Dec 28 21:16:06 CET 2011
-rw-r--r-- 1 demonslayer users 98888905 Dec 28 21:16 lines.txt
Distribution: ArchLinux 64 bit (with Openbox and fbpanel)
Posts: 136
Original Poster
Rep:
I installed sysbench 0.4.12-1, a build for ArchLinux so I presume it matches my setup.
Using this bash script:
Code:
date
sysbench --num-threads=16 --test=fileio --file-total-size=3G --file-test-mode=rndrw prepare
date
sysbench --num-threads=16 --test=fileio --file-total-size=3G --file-test-mode=rndrw run
date
sysbench --num-threads=16 --test=fileio --file-total-size=3G --file-test-mode=seqrd run
date
sysbench --num-threads=16 --test=fileio --file-total-size=3G --file-test-mode=rndrw cleanup
date
I see this:
Code:
$ ./mysysb.sh
Thu Dec 29 18:20:02 IST 2011
sysbench 0.4.12: multi-threaded system evaluation benchmark
128 files, 24576Kb each, 3072Mb total
Creating files for the test...
Thu Dec 29 18:20:42 IST 2011
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 16
Extra file open flags: 0
128 files, 24Mb each
3Gb total file size
Block size 16Kb
Number of random requests for random IO: 10000
Read/Write ratio for combined random IO test: 1.50
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing random r/w test
Threads started!
Done.
Operations performed: 6013 Read, 3998 Write, 12802 Other = 22813 Total
Read 93.953Mb Written 62.469Mb Total transferred 156.42Mb (2.3925Mb/sec)
153.12 Requests/sec executed
Test execution summary:
total time: 65.3801s
total number of events: 10011
total time taken by event execution: 605.9701
per-request statistics:
min: 0.00ms
avg: 60.53ms
max: 1031.56ms
approx. 95 percentile: 379.01ms
Threads fairness:
events (avg/stddev): 625.6875/67.78
execution time (avg/stddev): 37.8731/0.85
Thu Dec 29 18:21:48 IST 2011
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 16
Extra file open flags: 0
128 files, 24Mb each
3Gb total file size
Block size 16Kb
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing sequential read test
Threads started!
Done.
Operations performed: 196608 Read, 0 Write, 0 Other = 196608 Total
Read 3Gb Written 0b Total transferred 3Gb (103.59Mb/sec)
6629.87 Requests/sec executed
Test execution summary:
total time: 29.6549s
total number of events: 196608
total time taken by event execution: 474.2813
per-request statistics:
min: 0.00ms
avg: 2.41ms
max: 319.21ms
approx. 95 percentile: 5.15ms
Threads fairness:
events (avg/stddev): 12288.0000/382.08
execution time (avg/stddev): 29.6426/0.00
Thu Dec 29 18:22:18 IST 2011
sysbench 0.4.12: multi-threaded system evaluation benchmark
Removing test files...
Thu Dec 29 18:22:18 IST 2011
and then I did this:
Code:
date
sysbench --test=memory --memory-block-size=128K --memory-scope=global --memory-total-size=100G --memory-oper=write --num-threads=1 run
sysbench --test=memory --memory-block-size=128K --memory-scope=global --memory-total-size=100G --memory-oper=write --num-threads=2 run
sysbench --test=memory --memory-block-size=128K --memory-scope=global --memory-total-size=100G --memory-oper=write --num-threads=4 run
sysbench --test=memory --memory-block-size=128K --memory-scope=global --memory-total-size=100G --memory-oper=write --num-threads=32 run
sysbench --test=memory --memory-block-size=128K --memory-scope=global --memory-total-size=100G --memory-oper=write --num-threads=64 run
sysbench --test=memory --memory-block-size=128K --memory-scope=global --memory-total-size=100G --memory-oper=write --num-threads=128 run
sysbench --test=memory --memory-block-size=16K --memory-scope=global --memory-total-size=100G --memory-oper=write --num-threads=1 run
sysbench --test=memory --memory-block-size=16K --memory-scope=global --memory-total-size=100G --memory-oper=write --num-threads=2 run
sysbench --test=memory --memory-block-size=16K --memory-scope=global --memory-total-size=100G --memory-oper=write --num-threads=4 run
sysbench --test=memory --memory-block-size=16K --memory-scope=global --memory-total-size=100G --memory-oper=write --num-threads=32 run
sysbench --test=memory --memory-block-size=16K --memory-scope=global --memory-total-size=100G --memory-oper=write --num-threads=64 run
sysbench --test=memory --memory-block-size=16K --memory-scope=global --memory-total-size=100G --memory-oper=write --num-threads=128 run
date
and get this:
Code:
$ ./mysysb.sh
Thu Dec 29 18:26:33 IST 2011
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 1
Doing memory operations speed test
Memory block size: 128K
Memory transfer size: 0M
Memory operations type: write
Memory scope type: global
Threads started!
Done.
Operations performed: 0 ( 0.00 ops/sec)
0.00 MB transferred (0.00 MB/sec)
Test execution summary:
total time: 0.0001s
total number of events: 0
total time taken by event execution: 0.0000
per-request statistics:
min: 18446744073709.55ms
avg: 0.00ms
max: 0.00ms
Threads fairness:
events (avg/stddev): 0.0000/0.00
execution time (avg/stddev): 0.0000/0.00
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 2
Doing memory operations speed test
Memory block size: 128K
Memory transfer size: 0M
Memory operations type: write
Memory scope type: global
Threads started!
Done.
Operations performed: 0 ( 0.00 ops/sec)
0.00 MB transferred (0.00 MB/sec)
Test execution summary:
total time: 0.0001s
total number of events: 0
total time taken by event execution: 0.0000
per-request statistics:
min: 18446744073709.55ms
avg: 0.00ms
max: 0.00ms
Threads fairness:
events (avg/stddev): 0.0000/0.00
execution time (avg/stddev): 0.0000/0.00
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 4
Doing memory operations speed test
Memory block size: 128K
Memory transfer size: 0M
Memory operations type: write
Memory scope type: global
Threads started!
Done.
Operations performed: 0 ( 0.00 ops/sec)
0.00 MB transferred (0.00 MB/sec)
Test execution summary:
total time: 0.0001s
total number of events: 0
total time taken by event execution: 0.0000
per-request statistics:
min: 18446744073709.55ms
avg: 0.00ms
max: 0.00ms
Threads fairness:
events (avg/stddev): 0.0000/0.00
execution time (avg/stddev): 0.0000/0.00
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 32
Doing memory operations speed test
Memory block size: 128K
Memory transfer size: 0M
Memory operations type: write
Memory scope type: global
Threads started!
Done.
Operations performed: 0 ( 0.00 ops/sec)
0.00 MB transferred (0.00 MB/sec)
Test execution summary:
total time: 0.0008s
total number of events: 0
total time taken by event execution: 0.0000
per-request statistics:
min: 18446744073709.55ms
avg: 0.00ms
max: 0.00ms
Threads fairness:
events (avg/stddev): 0.0000/0.00
execution time (avg/stddev): 0.0000/0.00
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 64
Doing memory operations speed test
Memory block size: 128K
Memory transfer size: 0M
Memory operations type: write
Memory scope type: global
Threads started!
Done.
Operations performed: 0 ( 0.00 ops/sec)
0.00 MB transferred (0.00 MB/sec)
Test execution summary:
total time: 0.0012s
total number of events: 0
total time taken by event execution: 0.0000
per-request statistics:
min: 18446744073709.55ms
avg: 0.00ms
max: 0.00ms
Threads fairness:
events (avg/stddev): 0.0000/0.00
execution time (avg/stddev): 0.0000/0.00
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 128
Doing memory operations speed test
Memory block size: 128K
Memory transfer size: 0M
Memory operations type: write
Memory scope type: global
Threads started!
Done.
Operations performed: 0 ( 0.00 ops/sec)
0.00 MB transferred (0.00 MB/sec)
Test execution summary:
total time: 0.0024s
total number of events: 0
total time taken by event execution: 0.0000
per-request statistics:
min: 18446744073709.55ms
avg: 0.00ms
max: 0.00ms
Threads fairness:
events (avg/stddev): 0.0000/0.00
execution time (avg/stddev): 0.0000/0.00
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 1
Doing memory operations speed test
Memory block size: 16K
Memory transfer size: 0M
Memory operations type: write
Memory scope type: global
Threads started!
Done.
Operations performed: 0 ( 0.00 ops/sec)
0.00 MB transferred (0.00 MB/sec)
Test execution summary:
total time: 0.0000s
total number of events: 0
total time taken by event execution: 0.0000
per-request statistics:
min: 18446744073709.55ms
avg: 0.00ms
max: 0.00ms
Threads fairness:
events (avg/stddev): 0.0000/0.00
execution time (avg/stddev): 0.0000/0.00
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 2
Doing memory operations speed test
Memory block size: 16K
Memory transfer size: 0M
Memory operations type: write
Memory scope type: global
Threads started!
Done.
Operations performed: 0 ( 0.00 ops/sec)
0.00 MB transferred (0.00 MB/sec)
Test execution summary:
total time: 0.0000s
total number of events: 0
total time taken by event execution: 0.0000
per-request statistics:
min: 18446744073709.55ms
avg: 0.00ms
max: 0.00ms
Threads fairness:
events (avg/stddev): 0.0000/0.00
execution time (avg/stddev): 0.0000/0.00
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 4
Doing memory operations speed test
Memory block size: 16K
Memory transfer size: 0M
Memory operations type: write
Memory scope type: global
Threads started!
Done.
Operations performed: 0 ( 0.00 ops/sec)
0.00 MB transferred (0.00 MB/sec)
Test execution summary:
total time: 0.0001s
total number of events: 0
total time taken by event execution: 0.0000
per-request statistics:
min: 18446744073709.55ms
avg: 0.00ms
max: 0.00ms
Threads fairness:
events (avg/stddev): 0.0000/0.00
execution time (avg/stddev): 0.0000/0.00
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 32
Doing memory operations speed test
Memory block size: 16K
Memory transfer size: 0M
Memory operations type: write
Memory scope type: global
Threads started!
Done.
Operations performed: 0 ( 0.00 ops/sec)
0.00 MB transferred (0.00 MB/sec)
Test execution summary:
total time: 0.0006s
total number of events: 0
total time taken by event execution: 0.0000
per-request statistics:
min: 18446744073709.55ms
avg: 0.00ms
max: 0.00ms
Threads fairness:
events (avg/stddev): 0.0000/0.00
execution time (avg/stddev): 0.0000/0.00
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 64
Doing memory operations speed test
Memory block size: 16K
Memory transfer size: 0M
Memory operations type: write
Memory scope type: global
Threads started!
Done.
Operations performed: 0 ( 0.00 ops/sec)
0.00 MB transferred (0.00 MB/sec)
Test execution summary:
total time: 0.0012s
total number of events: 0
total time taken by event execution: 0.0000
per-request statistics:
min: 18446744073709.55ms
avg: 0.00ms
max: 0.00ms
Threads fairness:
events (avg/stddev): 0.0000/0.00
execution time (avg/stddev): 0.0000/0.00
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 128
Doing memory operations speed test
Memory block size: 16K
Memory transfer size: 0M
Memory operations type: write
Memory scope type: global
Threads started!
Done.
Operations performed: 0 ( 0.00 ops/sec)
0.00 MB transferred (0.00 MB/sec)
Test execution summary:
total time: 0.0024s
total number of events: 0
total time taken by event execution: 0.0000
per-request statistics:
min: 18446744073709.55ms
avg: 0.00ms
max: 0.00ms
Threads fairness:
events (avg/stddev): 0.0000/0.00
execution time (avg/stddev): 0.0000/0.00
Thu Dec 29 18:26:33 IST 2011
$ sysbench --test=memory --memory-block-size=16K --memory-total-size=100G --memory-scope=global --memory-hugetlb=off --memory-oper=write --memory-access-mode=seq run
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 1
Doing memory operations speed test
Memory block size: 16K
Memory transfer size: 0M
Memory operations type: write
Memory scope type: global
Threads started!
Done.
Operations performed: 0 ( 0.00 ops/sec)
0.00 MB transferred (0.00 MB/sec)
Test execution summary:
total time: 0.0002s
total number of events: 0
total time taken by event execution: 0.0000
per-request statistics:
min: 18446744073709.55ms
avg: 0.00ms
max: 0.00ms
Threads fairness:
events (avg/stddev): 0.0000/0.00
execution time (avg/stddev): 0.0000/0.00
from http://pastebin.com/H66QTu55 (random page I found) and also I see "Operations performed: 0 ( 0.00 ops/sec)"
$ sysbench --test=cpu --cpu-max-prime=20000 run
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 1
Doing CPU performance benchmark
Threads started!
Done.
Maximum prime number checked in CPU test: 20000
Test execution summary:
total time: 26.3220s
total number of events: 10000
total time taken by event execution: 26.3184
per-request statistics:
min: 2.59ms
avg: 2.63ms
max: 4.44ms
approx. 95 percentile: 2.78ms
Threads fairness:
events (avg/stddev): 10000.0000/0.00
execution time (avg/stddev): 26.3184/0.00
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.