High cache usage of free memory
I dont know if this is normal but my fresh archlinux x86_64 install with Xfce uses round 300Mb of 4Gb ram space after boot but then after i start and close some programs i get to 3 Gb used of 3.87 Gb free memory when all applycation are closed. Now i understand that kernel caches some data in memory but i cant clear it all with commands:
sync
echo 1 > /proc/sys/vm/drop_caches
echo 2 > /proc/sys/vm/drop_caches
echo 3 > /proc/sys/vm/drop_caches
After i do that system reports 540 Mb used compared to 300Mb from boot. Is there a way to limit the ammount of cache usage so i dont end up having all free memory used by cache?
Last edited by Anril (2009-12-29 13:19:52)
Ram that is unused is wasted ram, the linux kernel manages it very well so no worries there.
If you have swap usage it's because most probably you have things stored in the ram that are not being used often but cannot be discarded too so things being used more often take precedence.
If you think you have enough ram for all your needs then why not disable swap? I've read that there might be a speed penalty for running without swap but I've been running my system without swap (arch64 4G ram) and I've never had any bad surprises.
There are a few things that might prompt swap usage (don't quote me on that though, it just seems to me to be the case), if you copy many files from one place to the other the kernel will use all the ram available to try to cache them, if you copy many GB then all the ram will get filled (and maybe other things will get evicted to swap).
It's not a bug, free ram is there to be used, things that have been used/needed recently get to stay in the ram, other things can go to the swap, if you can cache a file that has been recently used and need to use it again shortly after then it's much faster if it is in the ram instead of having to read it again from the hard disk. The logic behind it is good, it's just that some corner cases may make behave badly.
Similar Messages
-
Inactive memory is growing until there is no free memory
Recently something happened and inactive memory commence growing from time to time. Even if I do nothing and have no application running. File cache eats all free memory (24Gb) in a couple of minutes and then OS is getting too slow.
sudo purge helps, sometimes after purging cache stops growing and sometimes I have to purge a few times.
Two month ago there was no such a behavior, I have no idea what's happened to the OS.
ps. sorry, had to post again to this community, cannot to move from Safari communityEtreCheck version: 2.1.8 (121)
Report generated 4 апреля 2015 г., 20:04:04 GMT+5
Download EtreCheck from http://etresoft.com/etrecheck
Click the [Click for support] links for help with non-Apple products.
Click the [Click for details] links for more information about that line.
Hardware Information: ℹ️
iMac (27-inch, Late 2012) (Technical Specifications)
iMac - model: iMac13,2
1 2.9 GHz Intel Core i5 CPU: 4-core
24 GB RAM Upgradeable
BANK 0/DIMM0
4 GB DDR3 1600 MHz ok
BANK 1/DIMM0
4 GB DDR3 1600 MHz ok
BANK 0/DIMM1
8 GB DDR3 1600 MHz ok
BANK 1/DIMM1
8 GB DDR3 1600 MHz ok
Bluetooth: Good - Handoff/Airdrop2 supported
Wireless: en1: 802.11 a/b/g/n
Video Information: ℹ️
NVIDIA GeForce GTX 660M - VRAM: 512 MB
iMac 2560 x 1440
System Software: ℹ️
OS X 10.9.5 (13F34) - Time since boot: 3:41:20
Disk Information: ℹ️
APPLE HDD WDC WD10EALX-408EA0 disk0 : (1 TB)
EFI (disk0s1) <not mounted> : 210 MB
Macintosh HD (disk0s2) / : 999.35 GB (306.69 GB free)
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
USB Information: ℹ️
Genius 2.4G Wireless Mouse
Apple Inc. iPad
Apple Inc. BRCM20702 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Inc. FaceTime HD Camera (Built-in)
Thunderbolt Information: ℹ️
Apple Inc. thunderbolt_bus
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/Applications/Parallels Desktop.app
[not loaded] com.parallels.kext.hidhook (9.0 23046.917896) [Click for support]
[not loaded] com.parallels.kext.hypervisor (9.0 23046.917896) [Click for support]
[not loaded] com.parallels.kext.netbridge (9.0 23046.917896) [Click for support]
[not loaded] com.parallels.kext.usbconnect (9.0 23046.917896) [Click for support]
[not loaded] com.parallels.kext.vnic (9.0 23046.917896) [Click for support]
/Library/Application Support/Kaspersky Lab/KAV/Bases/Cache
[loaded] com.kaspersky.kext.kimul.44 (44) [Click for support]
[loaded] com.kaspersky.kext.mark.1.0.5 (1.0.5) [Click for support]
/Library/Extensions
[loaded] com.kaspersky.kext.klif (3.0.4a41) [Click for support]
[loaded] com.kaspersky.nke (1.6.4a15) [Click for support]
/System/Library/Extensions
[not loaded] com.wacom.kext.pentablet (5.3.2 - SDK 10.8) [Click for support]
Launch Agents: ℹ️
[not loaded] com.adobe.AAM.Updater-1.0.plist [Click for support]
[running] com.kaspersky.kav.gui.plist [Click for support]
[not loaded] com.teamviewer.teamviewer.plist [Click for support]
[not loaded] com.teamviewer.teamviewer_desktop.plist [Click for support]
[running] com.wacom.pentablet.plist [Click for support]
[loaded] org.macosforge.xquartz.startx.plist [Click for support]
Launch Daemons: ℹ️
[loaded] com.adobe.SwitchBoard.plist [Click for support]
[running] com.autodesk.backburner_manager.plist [Click for support]
[running] com.autodesk.backburner_server.plist [Click for support]
[loaded] com.autodesk.backburner_start.plist [Click for support]
[running] com.kaspersky.kav.plist [Click for support]
[not loaded] com.teamviewer.teamviewer_service.plist [Click for support]
[loaded] org.macosforge.xquartz.privileged_startx.plist [Click for support]
[loaded] YandexDiskHelper.plist [Click for support]
[loaded] YandexDiskInstaller.plist [Click for support]
User Launch Agents: ℹ️
[loaded] com.google.keystone.agent.plist [Click for support]
[running] com.vladalexa.MagicPrefs.plist [Click for support]
User Login Items: ℹ️
iTunesHelper Программа (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
Яндекс.Диск Программа (/Applications/Yandex.Disk.app)
Internet Plug-ins: ℹ️
WacomNetscape: Version: 2.1.0-1 - SDK 10.8 [Click for support]
QuickTime Plugin: Version: 7.7.3
Unity Web Player: Version: UnityPlayer version 4.6.2f1 - SDK 10.6 [Click for support]
WacomTabletPlugin: Version: WacomTabletPlugin 2.1.0.2 [Click for support]
Default Browser: Version: 537 - SDK 10.9
Safari Extensions: ℹ️
Searchme [Adware! - Remove]
Open in Internet Explorer
URL Advisor
3rd Party Preference Panes: ℹ️
MagicPrefs [Click for support]
Perian [Click for support]
PenTablet [Click for support]
Time Machine: ℹ️
Skip System Files: NO
Mobile backups: OFF
Auto backup: YES
Volumes being backed up:
Macintosh HD: Disk size: 999.35 GB Disk used: 692.65 GB
Destinations:
iData [Network]
Total size: 3.00 TB
Total number of backups: 53
Oldest backup: 2014-02-13 23:24:12 +0000
Last backup: 2015-04-04 14:07:07 +0000
Size of backup disk: Excellent
Backup size 3.00 TB > (Disk size 999.35 GB X 3)
Top Processes by CPU: ℹ️
3% WindowServer
0% Activity Monitor
0% sysmond
0% AppleSpell
0% kav
Top Processes by Memory: ℹ️
206 MB kav
180 MB Yandex
155 MB WindowServer
155 MB com.apple.IconServicesAgent
129 MB softwareupdated
Virtual Memory Information: ℹ️
42 MB Free RAM
3.11 GB Active RAM
21.01 GB Inactive RAM
1.61 GB Wired RAM
3.71 GB Page-ins
3 MB Page-outs
Diagnostics Information: ℹ️
Apr 4, 2015, 04:19:03 PM Self test - passed -
High disk usage/high memory usage.
i keep getting high memory usage and high disk usage in ps cs6.
its slow when i open a file. how can i solve this problem.
thank you.
philip.Not to put too fine a point on it, but more than what? More RAM is almost always better, but you haven't answered most of the questions posed here. The answer might be different if you have 2 GB of RAM or 32 GB of RAM already. A 9 megapixel document could get rather large with a lot of layers, but again you've neglected to give any hard info about its size.
Regarding your video card, that's a bit of a judgment call you need to make. For Photoshop CS6 I currently advise people to try to get a video card that gets a score of 1000 or better on this benchmark: http://www.videocardbenchmark.net/high_end_gpus.html
Video card speed will matter when you're editing those 3D components and video card VRAM will also matter, but possibly even more importantly your GeForce 320 is a bit old, and nVidia may just not be doing their best driver work for it any more.
Everything in general will run more smoothly with a powerful modern video card. I like to recommend a VisionTek ATI Radeon HD 7750 - or if the computer power supply and your budget allow, the even more powerful 7850. VisionTek does a very good job with their hardware, IMO, and it comes with a lifetime guarantee.
Keep in mind that if you switch from nVidia to ATI or vice versa, you should carefully sweep your system to ensure all files from the old card are removed, then visit the web site of the new card's maker and download/install their latest display driver release.
Best of luck.
-Noel -
Shared memory (System V-style) - High usage of phys memory and page outs
Hi!
I get a much higher usage of physical memory when I use shared memory than I would expect. Please, I would really need someone to confirm my conclusions, so that I can revise my ignorance in this subject.
In my experiments I create a shared memory segment of 200 MB and I have 7 processes attaching to it. I have a ws of 1 GB.
I expect to see what I see when I attach to the shared memory segment in terms of virtual size, i.e. SIZE in prstat. After attaching (mapping it) to the process all 7 processes are about ~203 MB each and this makes sense. RSS, in prstat, is about 3 MB for each process and this is ok to me too.
It is what I see when each of the 7 processes start to write a simple string like 'Hello!' in parallel to each page in their shared memory segment that I get surprised. I run out of memory on my ws after a while and the system starts to wildly page out physical memory to disk so that the next 'Hello!' can be written to the next page in the shared memory segment. It seems that each page written to in the shared memory chunk is mapped into each process private address space. This means that the shared memory is not physically shared, just virtually shared. Is this correct?
Can memory be physically shared, so that my 7 processes only use 200 MB? ISM? DISM?
I create a shared memory segment in a C-program with the following calls:
shmid = shmget(key, SHM_SIZE, 0644 | IPC_CREAT)
data = shmat(shmid, (void *)0, 0);Thanks in advance
/SuneYour problem seemed reasonable. What were you doing wrong?
Darren -
Cache clearing during high planning usage
Hi
I was going through some performance notes for Integrated Planning and one of the suggestions there was Cache clearing during high planning usage.
What does this mean and how can it be performed
Thanks
Rashmi.Hi Rashmi,
what is the note you mentioned?
The OLAP cache usually is a mechanism to improve performace, though there might be case where the 'administration' of the cache creates some extra costs that may lead to better results without using the cache. But there are no general guidelines when this might happen. This heavily depends on the data model, queries and data access pattern.
In planning - as explained in note 1056259 - caching might be used via the planbuffer queries. These are system generated queries involved when input ready queries read transaction data. The query name is CUBE/!!1CUBE (aggregation level on an InfoCube) or MPRO/!!1MPRO (aggregation leve on a multiprovider). Via RSRCACHE (or also via RSRT, button 'Cache Monitor') you can check the caches. Via RSRT you can also deactivate the cache for a query or planbuffer query. You may play with these settings.
Caching is working best if the same data are shared for different users. But in planning different users sharing overlapping data in change mode will lock each other. So one might share actual data. One also might try to do a cache 'warm up' using a filter that creates caches that can be reused by different users. This would mean that plan users have non-overlapping selections but the warm up would be done before with a union of some of the filters used by the plan users. But how to do this in detail and whether it is worth the effort can only be answered in the customer project.
Regards,
Gregor -
System Memory Usage: What Eats My Free Memory?
For some time, I have noticed that my computer gets slower the longer I leave it on and do not restart.
Recently, I began displaying system memory usage from the activitiy monitor to see what's going on.
I noticed that no matter what I do, the Inactve Memory grows and the free memory disappears.
I thought it was due to memory hogs like Photoshop, FCP, etc. But even when I quit those programs, the Inactive Memory remains large and only the Active Memory shrinks.
The Inactive Memory grows even (especially?) when I perform finder operations, like previewing file contents in the finder.
Eventually, I get to the point where the free memory disappears and the machine begins to slow down (or at least seems to).
What's going on and what, if anything can I do to keep this from happening?
I'm running an iMac3.4GHz Intel Core i7 with 8 Gigs of RAM and OS 10.6.8.Thanks. I'm not sure what you mean by "screen saver without energy saver" overnight. My settings are screen saver after about 30 minutes, computer sleep after 1 hour. Do you mean run the computer sleep slider up to "Never?"
Otherwise:
--I don't use any of the programs you mentioned.
--I don't think I've ever seen Spotlight indexing
--Time Machine runs every hour of course, but nothing seems to change when it does.
--My 2 TB hard drive is only about 45% full.
--I usually quit programs, and especially Photoshop, when not in use.
--I do reboot occasionally, usually when I see Free Memory disappear. This is usually every few days.
--I use Time Machine to backup using default settings. My 2 TB drive is about 55% full.
I'll slide the energy saver slider over to "never" per the above and see how things go after a few days.
Thanks for your help -
Having Issues with High CPU Usage with fluxbox & pekwm
Greetings,
I have searched for this issue and it seems that something similar has happened in the past with an old xorg, and it seems that someone is having a similar issue that they can point to kde as being the culrpit. However in my case, this is a fresh install and is not using any kde libs. Please allow me to explain the issue.
The power supply on my main computer finally gave out, and being incredibly poor at the moment I can not yet replace it. So, I pull out an older computer that I had once set up for my kids, but took it away from them when they were abusing it. I always make backup dvds and such monthly so I didn't have to worry about any lose of data, however I desired to keep my larger hard drives from my main computer. After testing to ensure that the hard drives were fine, I did some minor surgery, and did a fresh install of arch linux onto my back up computer. Since I prefer pekwm, I installed pekwm as my wm of choice, and outfitted it quickly with mpd+sonata, firefox, pcmanfm, and tint2. Then I rebooted into my pekwm 'desktop'.
It was running sluggish. Firefox was easily maxing the cpu up and beyond 100% and it felt ten times worse than any heavy DE I used in the past. I checked to make sure I had the right video driver installed. As this computer runs a 64MB nVidia GeForce2 MX with TV out video card, I searched nvidia's page and the arch wiki, noting that the driver needed is nvidia-96xx. Well I had already suspected that during install, and thus had installed such driver. I double checked my xorg.config and it has the right driver listed.
So I checked out some lighter browsers. I tried both Midori and Iron (which is similar to Chrome but without google spyware or whatever). Well both run better than firefox, Midori being the lightest one, but Iron quickly being my favorite. Still, the problem remained. Moving windows caused cpu spikes, opening more than one tab, or more than one program caused cpu spikes and the computer to slow down and sputter, freezing at times.
So I tried out another wm, fluxbos, which is another of my favorites. Seemed somewhat better but only fractionally, which I consider odd because pekwm has always seemed snappier than fluxbox to me in the past. Running lxtask (still mouse dependent, sorry lol), I was able to take note of the following...
FLUXBOX
lxtask 6% CPU usage average
PCManFM 5% CPU Average
Fluxbox 1% to 2% cpu usage
gksu 3% cpu usage
pidgin 3% to 7% cpu usage
firefox up to 62% cpu usage
midori up to 38% cpu usage
iron up to 50% cpu usage
mpd 11% cpu uage
Xorg (with no window movement) 2% cpu usage
Xorg (moving windows around) up to 80% cpu usage
PEKWM
lxtask 6% CPU
pidgin 7% cpu
tint2 1% cpu
pekwm 1% to 5% cpu
pcmanfm 7% cpu
firefox up to 85% cpu
python 1% cpu
midori up to 38% cpu
iron up to 25% cpu (odd...)
Xorg (with no window movement) 1% cpu
Xorg (when moving windows around) up to 80% cpu
Both were using around 118 MB RAm and weren't yet touching swap. As I see it I am thinking xorg or video driver related, yet I already made sure that I had the correct video driver. Here's my Xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder63) Thu Jun 25 18:57:07 PDT 2009
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 30.0 - 110.0
VertRefresh 50.0 - 150.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1600x900" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Here's some specs on this computer, including video cards and such...
Computer
Summary
Computer
Processor Intel(R) Pentium(R) 4 CPU 1.60GHz
Memory 1034MB (239MB used)
Operating System Arch Linux
User Name mythus (Travis K. Randall)
Date/Time Thu 08 Oct 2009 05:24:52 PM CDT
Display
Resolution 1600x900 pixels
OpenGL Renderer GeForce2 MX/AGP/SSE2
X11 Vendor The X.Org Foundation
Multimedia
Audio Adapter ICH - Intel 82801BA-ICH2
Input Devices
Macintosh mouse button emulation
AT Translated Set 2 keyboard
Power Button
Power Button
PC Speaker
Logitech USB Optical Mouse
Printers
No printers found
SCSI Disks
ATA ST3160212A
ATA IC35L090AVV207-0
LITE-ON LTR-16102B
TSSTcorp CD/DVDW TS-H552D
Operating System
Version
Kernel Linux 2.6.30-ARCH (i686)
Compiled #1 SMP PREEMPT Wed Sep 9 12:37:32 UTC 2009
C Library GNU C Library version 2.10.1 (stable)
Default C Compiler GNU C Compiler version 4.4.1 (GCC)
Distribution Arch Linux
Current Session
Computer Name norova
User Name mythus (Travis K. Randall)
Home Directory /home/mythus
Desktop Environment Unknown (Window Manager: Fluxbox)
Misc
Uptime 11 hours, 38 minutes
Load Average 0.20, 0.38, 0.34
Kernel Modules
Loaded Modules
ipv6 IPv6 protocol stack for Linux
reiserfs ReiserFS journaled filesystem
usbhid USB HID core driver
hid
arc4 ARC4 Cipher Algorithm
ecb ECB block cipher algorithm
snd_seq_dummy ALSA sequencer MIDI-through client
rt2500pci Ralink RT2500 PCI & PCMCIA Wireless LAN driver.
snd_seq_oss OSS-compatible sequencer module
rt2x00pci rt2x00 pci library
snd_seq_midi_event MIDI byte <-> sequencer event coder
rt2x00lib rt2x00 library
snd_seq Advanced Linux Sound Architecture sequencer.
led_class LED Class Interface
snd_seq_device ALSA sequencer device management
input_polldev Generic implementation of a polled input device
mac80211 IEEE 802.11 subsystem
snd_intel8x0 Intel 82801AA,82901AB,i810,i820,i830,i840,i845,MX440; SiS 7012; Ali 5455
uhci_hcd USB Universal Host Controller Interface driver
snd_pcm_oss PCM OSS emulation for ALSA.
fan ACPI Fan Driver
cfg80211 wireless configuration support
ppdev
ehci_hcd USB 2.0 'Enhanced' Host Controller (EHCI) Driver
snd_mixer_oss Mixer OSS emulation for ALSA.
snd_ac97_codec Universal interface for Audio Codec '97
nvidia
lp
eeprom_93cx6 EEPROM 93cx6 chip driver
parport_pc PC-style parallel port driver
ohci1394 Driver for PCI OHCI IEEE-1394 controllers
parport
psmouse PS/2 mouse driver
ac97_bus
ieee1394
serio_raw Raw serio driver
8139too RealTek RTL-8139 Fast Ethernet driver
e100 Intel(R) PRO/100 Network Driver
snd_pcm Midlevel PCM code for ALSA.
pcspkr PC Speaker beeper driver
battery ACPI Battery Driver
8139cp RealTek RTL-8139C+ series 10/100 PCI Ethernet driver
snd_timer ALSA timer interface
i2c_core I2C-Bus main module
iTCO_wdt Intel TCO WatchDog Timer Driver
mii MII hardware support library
evdev Input driver event char devices
snd Advanced Linux Sound Architecture driver for soundcards.
ac ACPI AC Adapter Driver
iTCO_vendor_support Intel TCO Vendor Specific WatchDog Timer Driver Support
usbcore
soundcore Core sound module
sg SCSI generic (sg) driver
shpchp Standard Hot Plug PCI Controller Driver
snd_page_alloc Memory allocator for ALSA system.
processor ACPI Processor Driver
thermal ACPI Thermal Zone Driver
pci_hotplug PCI Hot Plug PCI Core
intel_agp
button ACPI Button Driver
agpgart AGP GART driver
rtc_cmos Driver for PC-style 'CMOS' RTCs
rtc_core RTC class support
rtc_lib
ext4 Fourth Extended Filesystem
mbcache Meta block cache (for extended attributes)
jbd2
crc16 CRC16 calculations
sr_mod SCSI cdrom (sr) driver
cdrom
sd_mod SCSI disk (sd) driver
ata_piix SCSI low-level driver for Intel PIIX/ICH ATA controllers
ata_generic low-level driver for generic ATA
pata_acpi SCSI low-level driver for ATA in ACPI mode
libata Library module for ATA devices
floppy
scsi_mod SCSI core
Display
Display
Display
Resolution 1600x900 pixels
Vendor The X.Org Foundation
Version 1.6.3.901
Monitors
Monitor 0 1600x900 pixels
Extensions
BIG-REQUESTS
Composite
DAMAGE
DOUBLE-BUFFER
DPMS
DRI2
GLX
Generic Event Extension
MIT-SCREEN-SAVER
MIT-SHM
NV-CONTROL
NV-GLX
RANDR
RECORD
RENDER
SECURITY
SHAPE
SYNC
X-Resource
XC-MISC
XFIXES
XFree86-DGA
XFree86-VidModeExtension
XINERAMA
XInputExtension
XKEYBOARD
XTEST
XVideo
OpenGL
Vendor NVIDIA Corporation
Renderer GeForce2 MX/AGP/SSE2
Version 1.5.8 NVIDIA 96.43.13
Direct Rendering Yes
Processor
Processor
Processor
Name Intel(R) Pentium(R) 4 CPU 1.60GHz
Family, model, stepping 15, 1, 2 (Pentium 4)
Vendor Intel
Configuration
Cache Size 256kb
Frequency 1594.77MHz
BogoMIPS 3190.44
Byte Order Little Endian
Features
FDIV Bug no
HLT Bug no
F00F Bug no
Coma Bug no
Has FPU yes
Cache
Cache information not available
Capabilities
fpu Floating Point Unit
vme Virtual 86 Mode Extension
de Debug Extensions - I/O breakpoints
pse Page Size Extensions (4MB pages)
tsc Time Stamp Counter and RDTSC instruction
msr Model Specific Registers
pae Physical Address Extensions
mce Machine Check Architeture
cx8 CMPXCHG8 instruction
apic Advanced Programmable Interrupt Controller
sep Fast System Call (SYSENTER/SYSEXIT)
mtrr Memory Type Range Registers
pge Page Global Enable
mca Machine Check Architecture
cmov Conditional Move instruction
pat Page Attribute Table
pse36 36bit Page Size Extensions
clflush Cache Line Flush instruction
dts Debug Store
acpi Thermal Monitor and Software Controlled Clock
mmx MMX technology
fxsr FXSAVE and FXRSTOR instructions
sse SSE instructions
sse2 SSE2 (WNI) instructions
ss Self Snoop
ht HyperThreading
tm Thermal Monitor
up smp kernel running on up
pebs Precise-Event Based Sampling
bts Branch Trace Store
Memory
Memory
Total Memory 1034084 kB
Free Memory 94276 kB
Buffers 40536 kB
Cached 700112 kB
Cached Swap 0 kB
Active 170788 kB
Inactive 726844 kB
Active(anon) 74112 kB
Inactive(anon) 88348 kB
Active(file) 96676 kB
Inactive(file) 638496 kB
Unevictable 12 kB
Mlocked 12 kB
High Memory 139144 kB
Free High Memory 252 kB
Low Memory 894940 kB
Free Low Memory 94024 kB
Virtual Memory 2931852 kB
Free Virtual Memory 2931852 kB
Dirty 12 kB
Writeback 0 kB
AnonPages 156996 kB
Mapped 57392 kB
Slab 24260 kB
SReclaimable 18864 kB
SUnreclaim 5396 kB
PageTables 1376 kB
NFS_Unstable 0 kB
Bounce 0 kB
WritebackTmp 0 kB
CommitLimit 3448892 kB
Committed_AS 404212 kB
VmallocTotal 122880 kB
VmallocUsed 27648 kB
VmallocChunk 52368 kB
DirectMap4k 32760 kB
DirectMap4M 876544 kB
Benchmarks
CPU Blowfish
CPU Blowfish
This Machine 1595 MHz 50.176
Intel(R) Celeron(R) M processor 1.50GHz (null) 26.1876862
PowerPC 740/750 (280.00MHz) (null) 172.816713
CPU CryptoHash
CPU CryptoHash
This Machine 1595 MHz 11.071
CPU Fibonacci
CPU Fibonacci
This Machine 1595 MHz 74.202
Intel(R) Celeron(R) M processor 1.50GHz (null) 8.1375674
PowerPC 740/750 (280.00MHz) (null) 58.07682
CPU N-Queens
CPU N-Queens
This Machine 1595 MHz 132.704
FPU FFT
FPU FFT
This Machine 1595 MHz 104.630
FPU Raytracing
FPU Raytracing
This Machine 1595 MHz 212.639
Intel(R) Celeron(R) M processor 1.50GHz (null) 40.8816714
PowerPC 740/750 (280.00MHz) (null) 161.312647
So what I am wanting help with is finding the solution to the cpu usage so that I can use this computer at least until I can afford a new power supply or whatever. I am open to any good suggestions, though I must state I am not really interested in tiling wm's at the moment. I am just not a true minimalist.
Thanks in advance for any and all help. I understand that there is a lot of info in this post, but it is my hope that with this info the problem can be solved. If there is info I didn't provide that is needed, please let me know.also check that you have
session.screen0.opaqueMove false
in your .fluxbox/init this will probably help a bit if it is currently true,
Last edited by Cyrusm (2009-01-26 13:52:13) -
How to reset free memory to the highest
I sometimes restart Tiger to reset the "Free" memory (RAM) higher.
Is there a way to reset this without restarting?
I have 768 MB DDR SDRAM 1/4 of which is used once restarted. After a while of use, it never gets back to a 1/4. With no user apps open it can be as high as half used (My human memory seems to think it is near 1/2). So I restart to claim back the 1/4. Is there another way to clean out the processes that are using up resources?
ALSO
If I use widgets, they not only take up memory, but seem to use CPU resources as do other applications. I clean all this by restarting. I can quit all widgets to clean that out without a restart, but clearly other things claim resources. If I burn a movie DVD and another process calls to the computer, there can be for an instant a surge on available resources. I do not mean something I activate during the burn, I mean hands off but some process which is less likely if I am burning just after a restart vs after much computer use. I am assuming it delays the feed to the recording DVD which given the burning process, clocks steady and at one speed, different than the CPU and computer resources which can compensate clocking during a process. So a restart seems to minimize bad burns. It sure seems I get no bad burns if I burn after a restart. That most occurred with burns on computer time many hours and other usage past the restart.
Is there a way to reset all or close at least the most aggressive activity, to basic without a restart? I realize there are many things that build-up though I know not all. RAM, Cache, monitoring activity, -=-any know a list of all the types of activity called to play after a good bit of computer use, different than a fresh restart?10.4 is even better with on the fly exchange, virtual memory is the same. Only the "specialty" apps are accessing any type of memory management/control and they are developed at the kernel level. You'll know which one's fall into this category as they put a very big strain on your wallet. Most seem to be working fine. A 3D CAD modeling program I am familiar with is absolutely incredible yet on the same machine running Apple's own universal apps choking and sputtering. It is not Universal but Intel native and even the previous and current PPC release run great under Rosetta, it also requires a USB security device just to open the application.
Restarting is working but it shouldn't make any difference whatsoever. The reason why it is is that apps and HW are not releasing resources properly i.e other apps, files, HD's, ports, CPU's, GPU's, keyboards, track-pads etc (even after they quit) this type of resource sharing is a new thing for them. The restart is simply releasing the resources from everything. Well almost everything, FW devices as well as partitioned internal HD's seem to misbehave, slowing things down or hanging, during startup and shutting down. A common way people are finding to force their computers to see certain USB and FW devices is to plug them in prior to startup and/or launching of any apps that may want to use such devices. However, this is not a reliable fix for devices that want to launch, control or be controlled by apps. i.e. video cameras, Maxtor OneTouch HD's etc. An all new system architecture in 10.4. I believe the majority of issue with HW and SW and the incredible number of kernel panics people are experiencing across HW configurations (G4-Intel) is that there is and error in the I/O kit at the kernel level.
One thing I see that is needed to tame this beast for USB and FW devices to work properly is a System Pref such as CD's and DVD's. When you connect a FW camera: When you connect a FW Video Device: When you connect a FW MIDI Device: When You Connect a FW HD: etc. with the same exact answers like Ask what to do, Open App, Ignore, Open finder, Run script etc. A system pref like this I believe would even help smoke out the popping kernel in a heartbeat.
People should not be looking for lists of supported equipment rather a very small list of "unsupported" devices. AFAICT any device or external piece of equipment that conforms to industry standards should work regardless if the manufacturer developed "drivers" for it or not.
I have waited for an OS like this from Apple for about 10 years. No longer had the need for it 2 or so years ago and stopped having to know what's going on. Had to get back into it in March 06 as installation of 10.4 on a G4 brought it to it's knees w/ HW frying all over the place apps not working correctly, kernel panics galore. Updated to MBP and problems are worse.
Another thing I'd like to mention is that it appears that my MBP 2.16, has already become a LEGACY PRODUCT (obsolete). G5 64 bit, ICD 32(-!?), ICD2 64 bit.
If their is anyone out there that can confirm this I would appreciate it. My .Mac account expires in a few hours so I will not be able to reply here, email or chat but will respond to a board you direct me to that allows anonymous/guest posts.
I am very curious about what a newer MacBook and a G5 computer says in the System Preferences>Processors. Mainly interested in MacBooks with ICD2 and G5's but am also curious about supported late model PB G4's w Core Image support and 64+ MB VRAM.
Your machine.
What is the processor? i.e Intel Pentium M Processor
Core Freq:
Bus Freq:
L1 Cache:
L2 Cache:
Processors:(max number)
A lot of the kernel panics being posted are all referring to HW devices primarily CPU's and GPU's and other very basic internal HW. It seems the cross architecture is getting garbled in this I/O kit. Errors in the kernel aren't usually that easy to find but I think if enough people express their concerns this one may find a quick resolution as it seems to occur close to the exchange.
Thanks
FWIW -
Only one CPU core high sys usage when create database instance via dbca
when using dbca to create database instance
JUST ONLY ONE CPU core high sys usage
how to troubleshoot it
see this:
top - 09:28:19 up 55 days, 20:38, 10 users, load average: 1.00, 1.08, 1.31
Tasks: 1231 total, 2 running, 1228 sleeping, 0 stopped, 1 zombie
Cpu(s): 0.0%us, 1.3%sy, 0.0%ni, 98.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 57588328k total, 55028620k used, 2559708k free, 196852k buffers
Swap: 16386292k total, 23156k used, 16363136k free, 23011232k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
11343 oracle 25 0 1771m 30m 23m R 99.7 0.1 5:36.39 oracle
3692 oracle 16 0 13948 2348 816 S 1.6 0.0 17:00.94 top
11432 root 15 0 13540 2024 820 R 1.3 0.0 0:00.21 top
11034 oracle 16 0 737m 171m 33m S 0.3 0.3 0:52.39 java
11435 oracle 15 0 66056 1596 1180 S 0.3 0.0 0:00.01 bash
1 root 15 0 784 172 160 S 0.0 0.0 38:56.76 init
2 root RT -5 0 0 0 S 0.0 0.0 0:00.58 migration/0
3 root 34 19 0 0 0 S 0.0 0.0 0:00.75 ksoftirqd/0
4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
5 root RT -5 0 0 0 S 0.0 0.0 0:00.81 migration/1
6 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/1
7 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/1
8 root RT -5 0 0 0 S 0.0 0.0 0:02.53 migration/2 mpstat info
[root@localhost ~]# mpstat -P ALL 2
Linux 2.6.18-164.el5 (localhost.localdomain) 09/12/12
09:29:09 CPU %user %nice %sys %iowait %irq %soft %steal %idle intr/s
09:29:11 all 0.01 0.00 1.27 0.01 0.00 0.01 0.00 98.69 1658.29
09:29:11 0 0.50 0.00 0.00 0.00 0.00 0.50 0.00 98.99 1657.29
09:29:11 73 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00
09:29:11 74 0.00 0.00 100.00 0.00 0.00 0.00 0.00 0.00 0.00
09:29:11 75 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00
09:29:11 76 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00
09:29:11 77 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00
09:29:11 78 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00
09:29:11 79 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00
09:29:11 CPU %user %nice %sys %iowait %irq %soft %steal %idle intr/s
09:29:13 all 0.01 0.00 1.26 0.01 0.00 0.02 0.00 98.70 1761.19
09:29:13 0 0.50 0.00 0.50 1.00 0.00 1.99 0.00 96.02 1761.19
09:29:13 71 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00
09:29:13 72 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00
09:29:13 73 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00
09:29:13 74 0.00 0.00 100.00 0.00 0.00 0.00 0.00 0.00 0.00
09:29:13 75 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00
09:29:13 76 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00
09:29:13 77 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00
09:29:13 78 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00
09:29:13 79 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00 you can see there is only one CPU CORE (core 74 but is random , other core have same status but just one CPU core)
[root@localhost ~]# vmstat -S m 2
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
r b swpd free buff cache si so bi bo in cs us sy id wa st
3 0 23 1861 203 24267 0 0 8 12 0 0 0 0 99 0 0
4 0 23 1845 203 24262 0 0 602 16460 3682 8121 2 2 96 1 0
3 0 23 1842 203 24276 0 0 692 7520 3297 6610 2 2 97 0 0
3 0 23 1830 203 24277 0 0 786 3040 3302 7118 2 2 97 0 0
4 0 23 1829 203 24277 0 0 126 3144 3247 7343 2 1 97 0 0
3 0 23 1827 203 24279 0 0 76 2944 3292 7502 2 2 96 0 0
3 0 23 1823 203 24281 0 0 0 3248 3164 7656 2 1 97 0 0
2 0 23 1827 203 24279 0 0 0 3646 3080 7480 2 1 97 0 0
2 0 23 1828 203 24279 0 0 0 476 2942 5648 1 1 98 0 0
3 0 23 1824 203 24281 0 0 2 7476 3377 8111 2 2 97 0 0iostat infor
avg-cpu: %user %nice %system %iowait %steal %idle
1.28 0.00 1.29 0.00 0.00 97.43
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
hda 0.00 0.00 0.00 0 0
sda 5.47 0.00 83.58 0 168
sda1 0.00 0.00 0.00 0 0
sda2 5.47 0.00 83.58 0 168
sda3 0.00 0.00 0.00 0 0
sda4 0.00 0.00 0.00 0 0
sda5 0.00 0.00 0.00 0 0
sdb 8.96 0.00 123.38 0 248
sdb1 8.96 0.00 123.38 0 248
avg-cpu: %user %nice %system %iowait %steal %idle
1.27 0.00 1.27 0.00 0.00 97.46
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
hda 0.00 0.00 0.00 0 0
sda 0.00 0.00 0.00 0 0
sda1 0.00 0.00 0.00 0 0
sda2 0.00 0.00 0.00 0 0
sda3 0.00 0.00 0.00 0 0
sda4 0.00 0.00 0.00 0 0
sda5 0.00 0.00 0.00 0 0
sdb 17.50 0.00 236.00 0 472
sdb1 17.50 0.00 236.00 0 472
avg-cpu: %user %nice %system %iowait %steal %idle
1.29 0.00 1.30 0.01 0.00 97.41
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
hda 0.00 0.00 0.00 0 0
sda 0.50 0.00 16.00 0 32
sda1 0.00 0.00 0.00 0 0
sda2 0.50 0.00 16.00 0 32
sda3 0.00 0.00 0.00 0 0
sda4 0.00 0.00 0.00 0 0
sda5 0.00 0.00 0.00 0 0
sdb 7.50 0.00 144.00 0 288
sdb1 7.50 0.00 144.00 0 288more detail:
database version 11.2.0.2.0
system version
[root@localhost ~]# cat /etc/issue
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
Kernel \r on an \m
[root@localhost ~]# lsb_release
LSB Version: :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linuxhardware info
vendor_id : GenuineIntel
cpu family : 6
model : 47
model name : Intel(R) Xeon(R) CPU E7- 4860 @ 2.27GHz
stepping : 2
cpu MHz : 2261.057
cache size : 24576 KB
physical id : 3
siblings : 20
core id : 18
cpu cores : 10
apicid : 229
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx pdpe1gb rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx smx est tm2 cx16 xtpr popcnt lahf_lm
bogomips : 4522.11
clflush size : 64
cache_alignment : 64
address sizes : 44 bits physical, 48 bits virtual
[root@localhost ~]# free -m
total used free shared buffers cached
Mem: 56238 55892 346 0 196 23645
-/+ buffers/cache: 32050 24188
Swap: 16002 22 15979
[root@localhost ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 19G 4.9G 14G 27% /
/dev/sda5 230G 27G 192G 12% /home
/dev/sda1 99M 12M 83M 13% /boot
/dev/sdb1 2.9T 2.3T 464G 84% /arrayEdited by: JOhnLiu on Sep 11, 2012 7:31 PMJOhnLiu wrote:
thanks for reply sb92075
[root@localhost ~]# mpstat -P ALL 2
Linux 2.6.18-164.el5 (localhost.localdomain) 09/12/12
09:29:09 CPU %user %nice %sys %iowait %irq %soft %steal %idle intr/s
09:29:11 all 0.01 0.00 1.27 0.01 0.00 0.01 0.00 98.69 1658.29
09:29:11 0 0.50 0.00 0.00 0.00 0.00 0.50 0.00 98.99 1657.29
09:29:11 73 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00
09:29:11 74 0.00 0.00 100.00 0.00 0.00 0.00 0.00 0.00 0.00
09:29:11 75 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00
09:29:11 76 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00I think you don't understand what i mean .
there just have ONLY ONE CORE %sys 100
the top command show average of all cpu core sys% usage
when the one core sys% is 100%
the system are very slow .
e.g: when I create a database instance used for a long time . over 2 hours
but generally it will be done at most 1 hours or shorteris any type of OS virtualization involved in this environment? -
[SOLVED] Arch64 high RAM usage...
I recently installed Arch64 on my MacBook and everything works fine, however I noticed its using very much RAM in comparison to my 32 bit workstation system (which has 4GB, not all seen o/c in 32 bit, while my laptop has only 2GB). Right now, with only X, musca, firefox and 3 urxvt terms open its using about 25% of it. which comes down to about 500MB. I didn't mind that much until just now I've seen it going up to 64% after I've launched matlab and it remained at this number after I closed it. My system is still responsive and fast, but I'm afraid I'm running out of RAM quite fast this way...thus if this cannot be explained or fixed I'm forced to go back to Arch32.
Is anybody else experiencing this ? I'm running kernel version 2.6.33.4-1 btw, and xorg 1.7.6-3.
Last edited by geniuz (2010-05-18 21:32:40)Unused RAM is wasted RAM.
And firefox is KNOWN to be a memory grubby hog.
Let the kernel do it's job. Unless you are specifically having issues(100% ram usages and high swap usage) there is little to worry about.
Also relating to Arch32 v Arch64.64 has a larger memory address(64 against 32) apps will use more RAM.
free -m
total used free shared buffers cached
Mem: 2009 1588 420 0 67 601
-/+ buffers/cache: 920 1088
Last edited by jwwolf (2010-05-18 20:48:02) -
Since 10.4.6 Update: "ATSServer" with high CPU-usage when opening PDFs
Since I've updated to 10.4.6 my system is very slow when I open PDFs (in "Preview" or "Acrobat").
This is caused by the process "ATSServer" which goes through every file in "~/Library/Fonts" (I have over 4.800 files there - but just a view are activated by "FontBook") and so it takes very high CPU-usage.
I didn't have this problem bevore the update and I didn't make any changes on my font settings.
I've cleaned the font cache, but it doesn't help.
Any ideas?
Ciao
Mephizo
PS: Excuse my poor English.
PowerBook G4 17'' 1.67 GHz Mac OS X (10.4.6)
PowerBook G4 17'' 1.67 GHz Mac OS X (10.4.6)I haven't noticed any change myself, Dan, but I have the 2 GHz model.
One thing I HAVE noticed though after OS updates is that they can often result in a fair amount of file and free space fragmentation immediately after installation. OSX's routines will deal with fragmentation of small files , but not of large ones (over 20 Meg), and it won't deal very effectively with free space fragmentation. If your HD is getting full this can cause significant slowdowns, especially where video is involved.
You should also run DiskUtility and check for any directory and permissions issues.
Cheers
Rod -
Hi,
Before everything, two things:
1. I'm not a native english speaker so i may have some problems to speak properly/as objective as i'd like to.
2 . I'm writing in this section because i don't know the cause of my pc issues so i can't categorize them.
Now, my computer is a Toshiba satellite L755-S5244, Windows 7 Home premium 64 bits, Intel pentium CPU B940 2Ghz, 4 Gb RAM, and I'm writing this message using it.
I bought the laptop in December of 2011 and at the beggining it was working normally. Someone else used the computer these last months and he left the pc without antivirus protection; when i installed one (Avast) and start to analyze the pc it suddenly shutted down. It wasn't able to boot, so after some trys to restore/enter in safe mode I finally used the Toshiba Recovery Wizard to get the pc to the original factory settings. The process was sucessfull, so the first thing i did after finish the process was install a new antivirus (this time i used Kaspersky Pure) and the the analysis showed no threats as i expected.
However, before the recovery process i realized of some slow performance on the computer, like talking a bit too long to opening files or menus, control panel... almost anything was opening with a little delay even just after start the pc. This problem continued even after the recovery process. Also, an online game -League of legends- which was working fine when i just bought the pc, developed some issue: the screen and the audio randomly frezees for like 3-5 seconds. These problems seems to be related between each other.
But that wasn't all. After the recovery to the original factory settings, i just installed a few things:
-Kaspersky Pure 2.0, CCleaner (free), Mozila Firefox, and League of legends.
Later I also installed Microsoft Office 2010.
The antivirus showed no threats. The game kept with the freeze thing.
And 2 days ago i was playing league of legends and downloading Skype when the pc suddenly got too slow. I restarted it. After the restart it took a long time to boot, and before the windows login screen loaded there was a black screen where only the mouse was showed; the start-up was slow too, (this one showed a blue screen with the mouse too -but not BSOD-) all this took like 15-20 minutes; that never happened before so i restarted the computer again but the problem was the same: slow boot, slow desktop start-up (let's not even talk about opening something).
I went to the repair menu (f8) and try to restore the system but it didn't change anything. I checked for memory issues but there wasn't. I looked also for starting problems but the repair didn't find anything. All in there was saying: "the computer performance seems normal", but it wasn't. Like entering to windows in normal mode was talking to long, i tried the safe mode. It was also slow but not that much. When i entered, a system restore which i wasn't able to performance before in normal mode popped-up and said that the system was restored sucessfully to the first restore point -just after the factory recovery, but it apparently didn't fix the slow bot issue.
Even in safe mode the software was working slow so i decided to go for the toshiba recovery wizard again, and looked in here, the forums -and the rest of the net- for problems like mine.
This time the Toshiba Recovery Wizard took like ages to finish. 3 hours just for recovering, and like 7 more hours just installing the drivers. The boot/start-up was still slow, so i think this was the cause of the slow recovery because the wizard restarts the computer a lot.
When the factory settings recovery finished, the first boot was slow, also the start up, the programs, the start menu, the control panel, ... everything was slow the first time i opened it. If i keep using the same program, it seems normal, but randomly freezes if i select some option, of press something (like this browser, google chrome, even now when i'm writing this message or before where i was registering into the forums). As obvious, because this slow performance i'm really not comfortable using this computer.
I used the HDD SDD Alert but it says the HDD is working fine (the hard drive doesn't make weirds sounds, i almost don't hear it at all); also i did a PC Diagnostic with the PC diagnostic tool and everything passed the test. I can't think of virus/malware because i did the recovery wizard, twice. I just installed Avast again and it didn't find anything. With the task manager i noticed of a high pc usage (almost always 100%) was showing for a really short moment when/after the computer freezes.
So, i don't know how to solve this slow performance.
The last thing i did was download those speed-up softwares: SpeedUpMyPc, RegCurePro, SpeedyPC pro and Pareto logic Health Advisor. They scanned the pc for free and found like 100 system performance issues, but I'm not able to use these programms to fix the issues if i dont buy them. Also i'm not even sure if that will fix my problems.
That's why i'm here, looking for a way to identify/fix them. One last thing: all this time i've been checking the temperature of the laptop but is never hot -now is not even warm. Now i'm afraid of restarting the PC again cuz i know it will take a long time to get into a kinda stable performance like right now.
So that's all. If you read all this, have my thanks. Also, any help would be really appreciated it.
EDIT:
A new thing happened. When i try to installed league of legends, the setup told me that my hard drive may be corrupted and the file won't copy, i skip it a few times but the installation took a long of time (half hour) and the error kept ocurring. I hope this can may be a clue about what is happening to my pc.Satellite L755-S5244
If you restore the hard disk to its original out-of-the-box contents using Toshiba recovery media and still have trouble, then you know it's not due to software.
the setup told me that my hard drive may be corrupted and the file won't copy, i skip it a few times but the installation took a long of time (half hour) and the error kept ocurring.
In particular, that sort of thing occurs when a hard drive is failing. Time to call Toshiba's tech support at 1-800-457-7777 (from the US) or 1-949-859-4273 (from outside the US).
-Jerry -
High CPU usage with Coherence 3.5.0 cluster node
We're noticing sustained high CPU usage on one of our Coherence nodes - this happens after running a job that pretty intensively interacts with the cache. The jobs complete, however we still see the Coherence process using approximately the equivalent of one core's worth of CPU. I took a couple of thread dumps about fifteen minutes apart, and the only noticeable differences are within the PacketListener1 and PacketListenerN threads - they're holding locks on different DatagramPacket instances, which suggests to be that this may be the piece of code that is looping.
There are two other cache nodes in this particular cluster - both of them on a different machine - and neither of them are exhibiting the same CPU utilization.
Environment:
Coherence 3.5.0
Java - BEA JRockit(R) (build R27.6.3-40_o-112056-1.6.0_11-20090318-2103-linux-x86_64, compiled mode)
Has anyone encountered this scenario before?
Here's a copy of the two thread dumps:
Thread Dump 1 -
===== FULL THREAD DUMP ===============
Thu Feb 24 21:45:00 2011
BEA JRockit(R) R27.6.3-40_o-112056-1.6.0_11-20090318-2103-linux-x86_64
"Main Thread" id=1 idx=0x4 tid=18143 prio=5 alive, in native, waiting
-- Waiting for notification on: java/lang/Class@0x43587b58[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)[optimized]
at com/tangosol/net/DefaultCacheServer.main(DefaultCacheServer.java:80)
^-- Lock released while waiting: java/lang/Class@0x43587b58[fat lock]
at com/zzzz/carbon/cacheserver/ZzzzCoherenceServerStartup.doWork(ZzzzCoherenceServerStartup.java:29)
at com/zzzz/util/runner/ZzzzRunnerBase.run(ZzzzRunnerBase.java:23)
at com/zzzz/carbon/cacheserver/ZzzzCoherenceServerStartup.main(ZzzzCoherenceServerStartup.java:16)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"(Signal Handler)" id=2 idx=0x8 tid=18144 prio=5 alive, in native, daemon
"(GC Main Thread)" id=3 idx=0xc tid=18145 prio=5 alive, in native, daemon
"(GC Worker Thread 1)" id=? idx=0x10 tid=18146 prio=5 alive, in native, daemon
"(GC Worker Thread 2)" id=? idx=0x14 tid=18147 prio=5 alive, in native, daemon
"(GC Worker Thread 3)" id=? idx=0x18 tid=18148 prio=5 alive, in native, daemon
"(GC Worker Thread 4)" id=? idx=0x1c tid=18149 prio=5 alive, in native, daemon
"(Code Generation Thread 1)" id=4 idx=0x20 tid=18150 prio=5 alive, in native, native_waiting, daemon
"(Code Optimization Thread 1)" id=5 idx=0x24 tid=18151 prio=5 alive, in native, native_waiting, daemon
"(VM Periodic Task)" id=6 idx=0x28 tid=18152 prio=10 alive, in native, daemon
"Finalizer" id=7 idx=0x2c tid=18153 prio=8 alive, in native, native_waiting, daemon
at jrockit/memory/Finalizer.waitForFinalizees([Ljava/lang/Object;)I(Native Method)
at jrockit/memory/Finalizer.access$500(Finalizer.java:12)
at jrockit/memory/Finalizer$4.run(Finalizer.java:159)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"Reference Handler" id=8 idx=0x30 tid=18154 prio=10 alive, in native, native_waiting, daemon
at java/lang/ref/Reference.waitForActivatedQueue()Ljava/lang/ref/Reference;(Native Method)
at java/lang/ref/Reference.access$100(Reference.java:11)
at java/lang/ref/Reference$ReferenceHandler.run(Reference.java:79)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"(Sensor Event Thread)" id=9 idx=0x34 tid=18155 prio=5 alive, in native, daemon
"Logger@9217551 3.5/459" id=12 idx=0x38 tid=18158 prio=3 alive, in native, waiting, daemon
-- Waiting for notification on: com/tangosol/coherence/component/application/console/Coherence$Logger$Queue@0x4e1faef8[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)[optimized]
at com/tangosol/coherence/component/util/Daemon.onWait(Daemon.CDB:18)[optimized]
^-- Lock released while waiting: com/tangosol/coherence/component/application/console/Coherence$Logger$Queue@0x4e1faef8[fat lock]
at com/tangosol/coherence/component/util/Daemon.run(Daemon.CDB:34)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"PacketListener1" id=14 idx=0x3c tid=18159 prio=8 alive, in native, daemon
at java/net/PlainDatagramSocketImpl.receive0(Ljava/net/DatagramPacket;)V(Native Method)
^-- Holding lock: java/net/PlainDatagramSocketImpl@0x4cb21360[recursive]
at java/net/PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)[inlined]
at java/net/DatagramSocket.receive(DatagramSocket.java:712)[optimized]
^-- Holding lock: java/net/PlainDatagramSocketImpl@0x4cb21360[thin lock]
^-- Holding lock: java/net/DatagramPacket@0x73aa4e80[thin lock]
^-- Holding lock: java/net/DatagramSocket@0x4cb21338[thin lock]
at com/tangosol/coherence/component/net/socket/UdpSocket.receive(UdpSocket.CDB:20)[optimized]
at com/tangosol/coherence/component/net/UdpPacket.receive(UdpPacket.CDB:4)[optimized]
at com/tangosol/coherence/component/util/daemon/queueProcessor/packetProcessor/PacketListener.onNotify(PacketListener.CDB:19)
at com/tangosol/coherence/component/util/Daemon.run(Daemon.CDB:37)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"PacketReceiver" id=15 idx=0x40 tid=18160 prio=7 alive, in native, waiting, daemon
-- Waiting for notification on: com/tangosol/coherence/component/net/Cluster$PacketReceiver$InQueue@0x4cf60d58[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)[optimized]
at com/tangosol/coherence/component/util/Daemon.onWait(Daemon.CDB:18)[inlined]
at com/tangosol/coherence/component/util/daemon/queueProcessor/packetProcessor/PacketReceiver.onWait(PacketReceiver.CDB:2)[optimized]
^-- Lock released while waiting: com/tangosol/coherence/component/net/Cluster$PacketReceiver$InQueue@0x4cf60d58[fat lock]
at com/tangosol/coherence/component/util/Daemon.run(Daemon.CDB:34)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"PacketPublisher" id=16 idx=0x44 tid=18161 prio=6 alive, in native, waiting, daemon
-- Waiting for notification on: com/tangosol/coherence/component/net/Cluster$PacketPublisher$InQueue@0x4ca053a8[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)[optimized]
at com/tangosol/coherence/component/util/Daemon.onWait(Daemon.CDB:18)[inlined]
at com/tangosol/coherence/component/util/daemon/queueProcessor/packetProcessor/PacketPublisher.onWait(PacketPublisher.CDB:2)[optimized]
^-- Lock released while waiting: com/tangosol/coherence/component/net/Cluster$PacketPublisher$InQueue@0x4ca053a8[fat lock]
^-- Lock released while waiting: com/tangosol/coherence/component/net/Cluster$PacketPublisher$InQueue@0x4ca053a8[fat lock]
at com/tangosol/coherence/component/util/Daemon.run(Daemon.CDB:34)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"PacketSpeaker" id=17 idx=0x48 tid=18162 prio=8 alive, in native, waiting, daemon
-- Waiting for notification on: com/tangosol/coherence/component/net/Cluster$PacketSpeaker$BundlingQueue@0x4cabe9d8[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)[optimized]
at com/tangosol/coherence/component/util/queue/ConcurrentQueue.waitForEntry(ConcurrentQueue.CDB:16)
^-- Lock released while waiting: com/tangosol/coherence/component/net/Cluster$PacketSpeaker$BundlingQueue@0x4cabe9d8[fat lock]
at com/tangosol/coherence/component/util/queue/ConcurrentQueue.remove(ConcurrentQueue.CDB:7)
at com/tangosol/coherence/component/util/Queue.remove(Queue.CDB:1)
at com/tangosol/coherence/component/util/daemon/queueProcessor/packetProcessor/PacketSpeaker.onNotify(PacketSpeaker.CDB:62)
at com/tangosol/coherence/component/util/Daemon.run(Daemon.CDB:37)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"PacketListenerN" id=18 idx=0x4c tid=18163 prio=8 alive, in native, daemon
at java/net/PlainDatagramSocketImpl.receive0(Ljava/net/DatagramPacket;)V(Native Method)
^-- Holding lock: java/net/PlainDatagramSocketImpl@0x4cb221b0[recursive]
at java/net/PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)[inlined]
at java/net/DatagramSocket.receive(DatagramSocket.java:712)[optimized]
^-- Holding lock: java/net/PlainDatagramSocketImpl@0x4cb221b0[thin lock]
^-- Holding lock: java/net/DatagramPacket@0x73e59890[thin lock]
^-- Holding lock: java/net/MulticastSocket@0x4cb22178[thin lock]
at com/tangosol/coherence/component/net/socket/UdpSocket.receive(UdpSocket.CDB:20)[optimized]
at com/tangosol/coherence/component/net/UdpPacket.receive(UdpPacket.CDB:4)[optimized]
at com/tangosol/coherence/component/util/daemon/queueProcessor/packetProcessor/PacketListener.onNotify(PacketListener.CDB:19)
at com/tangosol/coherence/component/util/Daemon.run(Daemon.CDB:37)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"Cluster|Member(Id=2, Timestamp=2011-02-23 16:25:36.488, Address=10.10.100.77:8095, MachineId=25677, Location=site:emtzzzz.com,machine:njdev04,process:18142,member:cldev201~carboncachelauncher~181)" id=19 idx=0x50 tid=18164 prio=5 alive, in native, waiting, daemon
-- Waiting for notification on: com/tangosol/coherence/component/util/queue/concurrentQueue/DualQueue@0x4cac64d8[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)[optimized]
at com/tangosol/coherence/component/util/Daemon.onWait(Daemon.CDB:18)[inlined]
at com/tangosol/coherence/component/util/daemon/queueProcessor/service/Grid.onWait(Grid.CDB:9)[optimized]
^-- Lock released while waiting: com/tangosol/coherence/component/util/queue/concurrentQueue/DualQueue@0x4cac64d8[fat lock]
at com/tangosol/coherence/component/util/Daemon.run(Daemon.CDB:34)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"TcpRingListener" id=20 idx=0x54 tid=18165 prio=6 alive, in native, daemon
at java/net/PlainSocketImpl.socketAccept(Ljava/net/SocketImpl;)V(Native Method)
at java/net/PlainSocketImpl.accept(PlainSocketImpl.java:384)
^-- Holding lock: java/net/SocksSocketImpl@0x4cb227d8[thin lock]
at java/net/ServerSocket.implAccept(ServerSocket.java:453)
at java/net/ServerSocket.accept(ServerSocket.java:421)
at com/tangosol/coherence/component/net/socket/TcpSocketAccepter.accept(TcpSocketAccepter.CDB:18)
at com/tangosol/coherence/component/util/daemon/TcpRingListener.acceptConnection(TcpRingListener.CDB:10)
at com/tangosol/coherence/component/util/daemon/TcpRingListener.onNotify(TcpRingListener.CDB:9)
at com/tangosol/coherence/component/util/Daemon.run(Daemon.CDB:37)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"Invocation:Management:EventDispatcher" id=22 idx=0x58 tid=18166 prio=5 alive, in native, waiting, daemon
-- Waiting for notification on: com/tangosol/coherence/component/util/daemon/queueProcessor/Service$EventDispatcher$Queue@0x4ab76140[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)[optimized]
at com/tangosol/coherence/component/util/Daemon.onWait(Daemon.CDB:18)[optimized]
^-- Lock released while waiting: com/tangosol/coherence/component/util/daemon/queueProcessor/Service$EventDispatcher$Queue@0x4ab76140[fat lock]
at com/tangosol/coherence/component/util/daemon/queueProcessor/Service$EventDispatcher.onWait(Service.CDB:7)
at com/tangosol/coherence/component/util/Daemon.run(Daemon.CDB:34)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"Invocation:Management" id=23 idx=0x5c tid=18167 prio=5 alive, in native, waiting, daemon
-- Waiting for notification on: com/tangosol/coherence/component/util/queue/concurrentQueue/DualQueue@0x4ab75508[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)[optimized]
at com/tangosol/coherence/component/util/Daemon.onWait(Daemon.CDB:18)[inlined]
at com/tangosol/coherence/component/util/daemon/queueProcessor/service/Grid.onWait(Grid.CDB:9)[optimized]
^-- Lock released while waiting: com/tangosol/coherence/component/util/queue/concurrentQueue/DualQueue@0x4ab75508[fat lock]
at com/tangosol/coherence/component/util/Daemon.run(Daemon.CDB:34)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"DistributedCache" id=25 idx=0x60 tid=18168 prio=5 alive, in native, waiting, daemon
-- Waiting for notification on: com/tangosol/coherence/component/util/queue/concurrentQueue/DualQueue@0x4a3869b0[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)[optimized]
at com/tangosol/coherence/component/util/Daemon.onWait(Daemon.CDB:18)[inlined]
at com/tangosol/coherence/component/util/daemon/queueProcessor/service/Grid.onWait(Grid.CDB:9)[optimized]
^-- Lock released while waiting: com/tangosol/coherence/component/util/queue/concurrentQueue/DualQueue@0x4a3869b0[fat lock]
at com/tangosol/coherence/component/util/Daemon.run(Daemon.CDB:34)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
===== END OF THREAD DUMP ===============
Thread Dump 2 -
===== FULL THREAD DUMP ===============
Thu Feb 24 21:27:53 2011
BEA JRockit(R) R27.6.3-40_o-112056-1.6.0_11-20090318-2103-linux-x86_64
"Main Thread" id=1 idx=0x4 tid=18143 prio=5 alive, in native, waiting
-- Waiting for notification on: java/lang/Class@0x43587b58[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)[optimized]
at com/tangosol/net/DefaultCacheServer.main(DefaultCacheServer.java:80)
^-- Lock released while waiting: java/lang/Class@0x43587b58[fat lock]
at com/zzzz/carbon/cacheserver/ZzzzCoherenceServerStartup.doWork(ZzzzCoherenceServerStartup.java:29)
at com/zzzz/util/runner/ZzzzRunnerBase.run(ZzzzRunnerBase.java:23)
at com/zzzz/carbon/cacheserver/ZzzzCoherenceServerStartup.main(ZzzzCoherenceServerStartup.java:16)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"(Signal Handler)" id=2 idx=0x8 tid=18144 prio=5 alive, in native, daemon
"(GC Main Thread)" id=3 idx=0xc tid=18145 prio=5 alive, in native, native_waiting, daemon
"(GC Worker Thread 1)" id=? idx=0x10 tid=18146 prio=5 alive, in native, daemon
"(GC Worker Thread 2)" id=? idx=0x14 tid=18147 prio=5 alive, in native, daemon
"(GC Worker Thread 3)" id=? idx=0x18 tid=18148 prio=5 alive, in native, daemon
"(GC Worker Thread 4)" id=? idx=0x1c tid=18149 prio=5 alive, in native, daemon
"(Code Generation Thread 1)" id=4 idx=0x20 tid=18150 prio=5 alive, in native, native_waiting, daemon
"(Code Optimization Thread 1)" id=5 idx=0x24 tid=18151 prio=5 alive, in native, native_waiting, daemon
"(VM Periodic Task)" id=6 idx=0x28 tid=18152 prio=10 alive, in native, daemon
"Finalizer" id=7 idx=0x2c tid=18153 prio=8 alive, in native, native_waiting, daemon
at jrockit/memory/Finalizer.waitForFinalizees([Ljava/lang/Object;)I(Native Method)
at jrockit/memory/Finalizer.access$500(Finalizer.java:12)
at jrockit/memory/Finalizer$4.run(Finalizer.java:159)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"Reference Handler" id=8 idx=0x30 tid=18154 prio=10 alive, in native, native_waiting, daemon
at java/lang/ref/Reference.waitForActivatedQueue()Ljava/lang/ref/Reference;(Native Method)
at java/lang/ref/Reference.access$100(Reference.java:11)
at java/lang/ref/Reference$ReferenceHandler.run(Reference.java:79)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"(Sensor Event Thread)" id=9 idx=0x34 tid=18155 prio=5 alive, in native, daemon
"Logger@9217551 3.5/459" id=12 idx=0x38 tid=18158 prio=3 alive, in native, waiting, daemon
-- Waiting for notification on: com/tangosol/coherence/component/application/console/Coherence$Logger$Queue@0x4e1faef8[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)[optimized]
at com/tangosol/coherence/component/util/Daemon.onWait(Daemon.CDB:18)[optimized]
^-- Lock released while waiting: com/tangosol/coherence/component/application/console/Coherence$Logger$Queue@0x4e1faef8[fat lock]
at com/tangosol/coherence/component/util/Daemon.run(Daemon.CDB:34)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"PacketListener1" id=14 idx=0x3c tid=18159 prio=8 alive, in native, daemon
at java/net/PlainDatagramSocketImpl.receive0(Ljava/net/DatagramPacket;)V(Native Method)
^-- Holding lock: java/net/PlainDatagramSocketImpl@0x4cb21360[recursive]
at java/net/PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)[inlined]
at java/net/DatagramSocket.receive(DatagramSocket.java:712)[optimized]
^-- Holding lock: java/net/PlainDatagramSocketImpl@0x4cb21360[thin lock]
^-- Holding lock: java/net/DatagramPacket@0x73a80930[thin lock]
^-- Holding lock: java/net/DatagramSocket@0x4cb21338[thin lock]
at com/tangosol/coherence/component/net/socket/UdpSocket.receive(UdpSocket.CDB:20)[optimized]
at com/tangosol/coherence/component/net/UdpPacket.receive(UdpPacket.CDB:4)[optimized]
at com/tangosol/coherence/component/util/daemon/queueProcessor/packetProcessor/PacketListener.onNotify(PacketListener.CDB:19)
at com/tangosol/coherence/component/util/Daemon.run(Daemon.CDB:37)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"PacketReceiver" id=15 idx=0x40 tid=18160 prio=7 alive, in native, waiting, daemon
-- Waiting for notification on: com/tangosol/coherence/component/net/Cluster$PacketReceiver$InQueue@0x4cf60d58[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)[optimized]
at com/tangosol/coherence/component/util/Daemon.onWait(Daemon.CDB:18)[inlined]
at com/tangosol/coherence/component/util/daemon/queueProcessor/packetProcessor/PacketReceiver.onWait(PacketReceiver.CDB:2)[optimized]
^-- Lock released while waiting: com/tangosol/coherence/component/net/Cluster$PacketReceiver$InQueue@0x4cf60d58[fat lock]
at com/tangosol/coherence/component/util/Daemon.run(Daemon.CDB:34)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"PacketPublisher" id=16 idx=0x44 tid=18161 prio=6 alive, in native, waiting, daemon
-- Waiting for notification on: com/tangosol/coherence/component/net/Cluster$PacketPublisher$InQueue@0x4ca053a8[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)[optimized]
at com/tangosol/coherence/component/util/Daemon.onWait(Daemon.CDB:18)[inlined]
at com/tangosol/coherence/component/util/daemon/queueProcessor/packetProcessor/PacketPublisher.onWait(PacketPublisher.CDB:2)[optimized]
^-- Lock released while waiting: com/tangosol/coherence/component/net/Cluster$PacketPublisher$InQueue@0x4ca053a8[fat lock]
^-- Lock released while waiting: com/tangosol/coherence/component/net/Cluster$PacketPublisher$InQueue@0x4ca053a8[fat lock]
at com/tangosol/coherence/component/util/Daemon.run(Daemon.CDB:34)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"PacketSpeaker" id=17 idx=0x48 tid=18162 prio=8 alive, in native, waiting, daemon
-- Waiting for notification on: com/tangosol/coherence/component/net/Cluster$PacketSpeaker$BundlingQueue@0x4cabe9d8[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)[optimized]
at com/tangosol/coherence/component/util/queue/ConcurrentQueue.waitForEntry(ConcurrentQueue.CDB:16)
^-- Lock released while waiting: com/tangosol/coherence/component/net/Cluster$PacketSpeaker$BundlingQueue@0x4cabe9d8[fat lock]
at com/tangosol/coherence/component/util/queue/ConcurrentQueue.remove(ConcurrentQueue.CDB:7)
at com/tangosol/coherence/component/util/Queue.remove(Queue.CDB:1)
at com/tangosol/coherence/component/util/daemon/queueProcessor/packetProcessor/PacketSpeaker.onNotify(PacketSpeaker.CDB:62)
at com/tangosol/coherence/component/util/Daemon.run(Daemon.CDB:37)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"PacketListenerN" id=18 idx=0x4c tid=18163 prio=8 alive, in native, daemon
at java/net/PlainDatagramSocketImpl.receive0(Ljava/net/DatagramPacket;)V(Native Method)
^-- Holding lock: java/net/PlainDatagramSocketImpl@0x4cb221b0[recursive]
at java/net/PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)[inlined]
at java/net/DatagramSocket.receive(DatagramSocket.java:712)[optimized]
^-- Holding lock: java/net/PlainDatagramSocketImpl@0x4cb221b0[thin lock]
^-- Holding lock: java/net/DatagramPacket@0x5e55a240[thin lock]
^-- Holding lock: java/net/MulticastSocket@0x4cb22178[thin lock]
at com/tangosol/coherence/component/net/socket/UdpSocket.receive(UdpSocket.CDB:20)[optimized]
at com/tangosol/coherence/component/net/UdpPacket.receive(UdpPacket.CDB:4)[optimized]
at com/tangosol/coherence/component/util/daemon/queueProcessor/packetProcessor/PacketListener.onNotify(PacketListener.CDB:19)
at com/tangosol/coherence/component/util/Daemon.run(Daemon.CDB:37)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"Cluster|Member(Id=2, Timestamp=2011-02-23 16:25:36.488, Address=10.10.100.77:8095, MachineId=25677, Location=site:emtzzzz.com,machine:njdev04,process:18142,member:cldev201~carboncachelauncher~181)" id=19 idx=0x50 tid=18164 prio=5 alive, in native, waiting, daemon
-- Waiting for notification on: com/tangosol/coherence/component/util/queue/concurrentQueue/DualQueue@0x4cac64d8[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)[optimized]
at com/tangosol/coherence/component/util/Daemon.onWait(Daemon.CDB:18)[inlined]
at com/tangosol/coherence/component/util/daemon/queueProcessor/service/Grid.onWait(Grid.CDB:9)[optimized]
^-- Lock released while waiting: com/tangosol/coherence/component/util/queue/concurrentQueue/DualQueue@0x4cac64d8[fat lock]
at com/tangosol/coherence/component/util/Daemon.run(Daemon.CDB:34)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"TcpRingListener" id=20 idx=0x54 tid=18165 prio=6 alive, in native, daemon
at java/net/PlainSocketImpl.socketAccept(Ljava/net/SocketImpl;)V(Native Method)
at java/net/PlainSocketImpl.accept(PlainSocketImpl.java:384)
^-- Holding lock: java/net/SocksSocketImpl@0x4cb227d8[thin lock]
at java/net/ServerSocket.implAccept(ServerSocket.java:453)
at java/net/ServerSocket.accept(ServerSocket.java:421)
at com/tangosol/coherence/component/net/socket/TcpSocketAccepter.accept(TcpSocketAccepter.CDB:18)
at com/tangosol/coherence/component/util/daemon/TcpRingListener.acceptConnection(TcpRingListener.CDB:10)
at com/tangosol/coherence/component/util/daemon/TcpRingListener.onNotify(TcpRingListener.CDB:9)
at com/tangosol/coherence/component/util/Daemon.run(Daemon.CDB:37)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"Invocation:Management:EventDispatcher" id=22 idx=0x58 tid=18166 prio=5 alive, in native, waiting, daemon
-- Waiting for notification on: com/tangosol/coherence/component/util/daemon/queueProcessor/Service$EventDispatcher$Queue@0x4ab76140[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)[optimized]
at com/tangosol/coherence/component/util/Daemon.onWait(Daemon.CDB:18)[optimized]
^-- Lock released while waiting: com/tangosol/coherence/component/util/daemon/queueProcessor/Service$EventDispatcher$Queue@0x4ab76140[fat lock]
at com/tangosol/coherence/component/util/daemon/queueProcessor/Service$EventDispatcher.onWait(Service.CDB:7)
at com/tangosol/coherence/component/util/Daemon.run(Daemon.CDB:34)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"Invocation:Management" id=23 idx=0x5c tid=18167 prio=5 alive, in native, waiting, daemon
-- Waiting for notification on: com/tangosol/coherence/component/util/queue/concurrentQueue/DualQueue@0x4ab75508[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)[optimized]
at com/tangosol/coherence/component/util/Daemon.onWait(Daemon.CDB:18)[inlined]
at com/tangosol/coherence/component/util/daemon/queueProcessor/service/Grid.onWait(Grid.CDB:9)[optimized]
^-- Lock released while waiting: com/tangosol/coherence/component/util/queue/concurrentQueue/DualQueue@0x4ab75508[fat lock]
at com/tangosol/coherence/component/util/Daemon.run(Daemon.CDB:34)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"DistributedCache" id=25 idx=0x60 tid=18168 prio=5 alive, in native, waiting, daemon
-- Waiting for notification on: com/tangosol/coherence/component/util/queue/concurrentQueue/DualQueue@0x4a3869b0[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)[optimized]
at com/tangosol/coherence/component/util/Daemon.onWait(Daemon.CDB:18)[inlined]
at com/tangosol/coherence/component/util/daemon/queueProcessor/service/Grid.onWait(Grid.CDB:9)[optimized]
^-- Lock released while waiting: com/tangosol/coherence/component/util/queue/concurrentQueue/DualQueue@0x4a3869b0[fat lock]
at com/tangosol/coherence/component/util/Daemon.run(Daemon.CDB:34)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
===== END OF THREAD DUMP ===============Charlie, Cameron,
Thanks for following up. To answer Cameron's question - yes, running top shows that it is this process using a significant amount of the CPU. I captured a JRA this morning setting nativesamples=true.
I see the following when I look at the Hot Methods - let me know if there is something else that would shed some more light on this issue.
Method Percent(%) #Samples Optimized Native Method Id.
libjvm.so#mmDetGcFollowReferencesWorkers 28.575 2,062 0 1 0x2AE6B82EC2C1
libpthread.so.0#__recvfrom_nocancel 26.012 1,877 0 1 0x3CC1A0D689
libpthread.so.0#__accept_nocancel 26.012 1,877 0 1 0x3CC1A0D4A9
libjvm.so#mmBalanceGetReference 4.975 359 0 1 0x2AE6B817A65B
libjvm.so#objIterStepFieldFromBitmaskWord 4.753 343 0 1 0x2AE6B82A6B34
libjvm.so#objIterStep 3.88 280 0 1 0x2AE6B82A6F8D
libjvm.so#objIterInitInner 2.744 198 0 1 0x2AE6B82A71B7
libjvm.so#mmBalanceStoreReference 1.414 102 0 1 0x2AE6B817A781
libjvm.so#objIterSetupFields 0.637 46 0 1 0x2AE6B82A6B08
libjvm.so#nativeInnerLockNotLinked 0.236 17 0 1 0x2AE6B829DE76
libjvm.so#mmWorkPacketPoolGet 0.125 9 0 1 0x2AE6B817A4F5
libjvm.so#qBitSetIsBitSetInWord 0.069 5 0 1 0x2AE6B82C8AA6
libjvm.so#nativeInnerUnlockNotLinked 0.069 5 0 1 0x2AE6B829E028
libjvm.so#mmWorkPacketPoolAdd 0.042 3 0 1 0x2AE6B817A48E
libjvm.so#objPoolMarkAllHard 0.042 3 0 1 0x2AE6B82A4923
libjvm.so#objIterSetupArray 0.028 2 0 1 0x2AE6B82A6BDB
libjvm.so#markAcquired 0.028 2 0 1 0x2AE6B829DBD3
libjvm.so#mmPointerMatrixTryInsertAtIndex 0.028 2 0 1 0x2AE6B82BEFEB
libjvm.so#mmPointerMatrixClear 0.028 2 0 1 0x2AE6B82BF61C
libjvm.so#objPoolMarkWeakConcurrently 0.028 2 0 1 0x2AE6B82A5358
libjvm.so#qBitSetFindFirstNonClearedWord 0.014 1 0 1 0x2AE6B82C888E
libjvm.so#utilCounterToNanos 0.014 1 0 1 0x2AE6B8313B53
libjvm.so#waitForLockIfNeededAndMarkAcquired 0.014 1 0 1 0x2AE6B829DC30
libjvm.so#vmtLinkData 0.014 1 0 1 0x2AE6B8325B2E
libjvm.so#mmBitsIsObjectMarkedGrey 0.014 1 0 1 0x2AE6B82ED7E9
libjvm.so#qBitSetFindLastSetBitInWord 0.014 1 0 1 0x2AE6B82C8854
libjvm.so#mark_writebarriers 0.014 1 0 1 0x2AE6B8250EEA
libjvm.so#signalNextInLockQueueIfNeeded 0.014 1 0 1 0x2AE6B829DF52
libjvm.so#mmGetUsingMatrixes 0.014 1 0 1 0x2AE6B819F33C
libjvm.so#ptGetThreadId 0.014 1 0 1 0x2AE6B82BD9ED
libc.so.6#memset 0.014 1 0 1 0x3CC0A7A000
libjvm.so#setupNodeForSelf 0.014 1 0 1 0x2AE6B829DD87
libc.so.6#_int_free 0.014 1 0 1 0x3CC0A714E0
libjvm.so#mmAddChunkToList 0.014 1 0 1 0x2AE6B830977C
libjvm.so#vmtiUnlinkData 0.014 1 0 1 0x2AE6B8325B4A
libjvm.so#nativeLockInSuspendCritical 0.014 1 0 1 0x2AE6B829E0E3
libjvm.so#mmSweepHeapPart 0.014 1 0 1 0x2AE6B830989A
libjvm.so#mmBalanceWorkSetSwapPackets 0.014 1 0 1 0x2AE6B817A647
libc.so.6#_int_malloc 0.014 1 0 1 0x3CC0A71E80
libjvm.so#charToJlcType 0.014 1 0 1 0x2AE6B8253633
unknown#unknown functions 0 0 0 1 0x2AE6B8597090
Running with nativemethods=false, I see the following under hot methods
Method Percent(%) #Samples Optimized Native Method Id.
jrockit.vm.Locks.monitorExitSecondStage(Object) 50 1 1 0 0x161D30D0
com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.ClusterService.onNotify() 50 1 1 0 0x169D2C70
com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketReceiver.onNotify() 0 0 1 0 0x1551C050
com.tangosol.coherence.component.util.queue.ConcurrentQueue.checkFlush(int) 0 0 1 0 0x151C2180
java.lang.Thread.run() 0 0 0 0 0x14E98EB0
jrockit.vm.RNI.c2java(long, long, long, long, long) 0 0 0 0 0x14C07830
unknown#unknown functions 0 0 0 1 0x2AE6B8597090
com.tangosol.coherence.component.util.Daemon.run() 0 0 0 0 0x15CFEBC0
com.tangosol.coherence.component.util.queue.ConcurrentQueue.add(Object) 0 0 1 0 0x15ED6B00
com.tangosol.coherence.component.util.queue.ConcurrentQueue.onAddElement() 0 0 1 0 0x151C9C20
com.tangosol.coherence.component.util.queue.ConcurrentQueue.flush(boolean) 0 0 1 0 0x1618CAD0
Thanks,
Jason -
High CPU usage (more than 100%) while running video applications
Hello everyone,
I desperately need help with this.
I have a late 2007 White Macbook running Mac OS X 10.6.8 :
Model Name: MacBook
Model Identifier: MacBook2,1
Processor Name: Intel Core 2 Duo
Processor Speed: 2 GHz
Number Of Processors: 1
Total Number Of Cores: 2
L2 Cache: 4 MB
Memory: 3 GB
Bus Speed: 667 MHz
The issue that I am having is, whenever I play a video (Netflix/Silverlight player, YouTube, Skype, etc.) the CPU usage shoots up above 100% and the video or the video chat becomes VERY choppy. It becomes impossible to keep going once that starts. Originally I had 1Gb RAM (512 + 512) ... then I upgraded to (1GB + 512mb) ... it was fine for about a year and then started chocking on memory... so recently I made it (1GB +2GB) and that's when this high CPU usage thing started (according to my knowledge)
I have had this machine since last 4 years and its very dear to me. I dont wanna buy a new one. I will really appreciate if someone could help.I am spending sleepless nights, researching for a fix. From what I found so far, a considerable amount of people were able to fix this issue by simple cleaning the insides of their machines using air dusters, especially the fans. I don't know how cleaning would help with CPU utilization, but by interpolation, I feel it's worth a try. At least it will be clean, if not perfectly functional. lol
Now the next big challenge ahead of me is getting the screws on my Macbook open. I was following the Fan Repair Guide on ifixit.com. I went and got the #00 Phillips screwdriver as suggested in the guide... came home and found out the screwdriver is too big.... went back got a #0000 Phillips (I also found out that screwdrivers with same number might be of different sizes in different stores)... got a couple of screws out and then--- another road-block!! there are a few extremely tiny Phillips screws on my macbook. Now I am hunting for the smallest Phillips screwdriver in the world. Hopefully, I will find it in some watch repair or eye-glasses repair kit in a store such as CVS or Walgreens... aaaah... this is sooo frustrating!!! I just want to get his done so that I can check it off the list of probable solutions that I want to try. Will update here if this works.
From what you say, I think that the Silverlight upgrade might be the culprit in my case too. But the effect is there also for Youtube, Skype , or any other Video/Graphics intensive application that I use. Although, Silverlight/Netflix performs the worst among all the apps.
I love my Macbook... don't want to part with it. -
Solaris 10 - VMSTAT free memory behavior puzzling
I am running a rather complex and large application on a Sun v215 (2 UltraSPARC IIIi 1.5 ghz with 16 GB RAM).
When I start the application up vmstat reports about 95% free memory but over time (7 days) the free memory reported by 'vmstat 60' decreases at a steady rate until it appears to level out around 80% free memory. I do not have any memory leaks in the application. The application is a combination of Java and C code. There is a fare amount of I/O but nothing overwhelming. Is there an explaination for the decrease and leveling out of the free memory over this time period?Thanks! That is what I was thinking but I wanted someone to validate my theory. Do you have any technical reference(s) (i.e. article, book, webpage) that backups the statement "If a Solaris system have a lot of free memory, Solaris will start to cache filesystem pages to the memory until the memory is used about 80-90%."?
Any technical reference will help me make my case with our customer much easier. Thank you once again for your help.
As followup note: I re-ran some tests with vmstat -p and there is quite a bit of file system paging occuring. I do have many file-page-ins. However I would not expect the file-page-out and file-page-free to be as high as they are if free memory continues to decrease to 80%.
Maybe you are looking for
-
I would like to close one account and only use the other. D
-
Is there any way I can get my To-do list to show up at the bottom of the screen on a day-by-day basis, as opposed to being in a list on the side of the iCal screen? (the Palm software does this, and it's nice because then you can break up your to-do
-
Looping a JavaBean through a JSP/Servlet possible?
I have a webapp that has a JSP page that shows data in an "HTML form" based on a JavaBean passed in from a Servlet. When the user submits the form (possibly with changes), I would like to be able to send this exact same JavaBean (with original data a
-
Camcorders compatible with OS X
Hello all. Can you advise me please which Sony or Panasonic Camcorders model compatible with iMac OS X 10.8 ? Thanks. Ronen
-
Continued from old thread. Here is my latest version of the WORM Global. For those who are not familiar with this project, a WORM Global is a way to store variables where you can write to them once. WORM stands for Write Once Read Many. This vi ho