Posted January 2, 2013 Before people post. Please... if you are a know-it-all just close this page... before I am forced to call you an ------for saying "the problem is you have a laptop" SpecsJava: 7.0.30.5DX: 11Processor: Intel® Core i5-2450M CPU @ 2.50GHz (4 CPUs), ~2.5GHzMemory: 6144MB RAMOperating System: Windows 7 Home Premium 64-bitGPU: GeForce GT 525MDedicated Vram: 1024MB DDR3 Now my GPU is set to override all power settings when the java program is running, and I manually set it to allow maximum performance to the java program. Frame wise, when the game is running averages at 45-60FPS with 45 being in a heavy city like indy spawn.. The dips occur infrequently and I do not notice any real memory leak on the java program itself( IE it growing out of control with it's memory usage) It stays steady at 1 gig private and 1.2-1.5 gigs virtual in size. You can see in the picture below via CPU and GPU usage every time it hangs as the usage goes to nothing. So any and all help in fixing this small annoyance is much appreciated.KeyGreen: CPUPink: GPUOrange: RamYellow: System CommitMiddle blank: Read/Writes of HD Share this post Link to post Share on other sites
Posted January 2, 2013 (edited) Could you please post your current settings (gamesettings.txt)? Edited January 2, 2013 by Xallo Share this post Link to post Share on other sites
Posted January 2, 2013 (edited) ii dont think no matter what settings you should get 1,000,000k usageI have this problem with Wurm and Minecraft so im thinking its a java issue Edited January 2, 2013 by shadowblasta Share this post Link to post Share on other sites
Posted January 2, 2013 #Wurm Online client properties#Tue Jan 01 18:09:44 EST 2013sound_cache_enabled=trueviewport_bob=truehide_menu_examine=falsecolor_white=1.0,1.0,1.0mark_text_read=trueno_terrain_render=falsepbuffer_enabled=falsehas_read_eula=truecolor_error=1.0,0.3,0.3use_color_picking=truerender_glow=falsetrees=1vbo_enabled=2reflections=4animation_playback_self=0showKChat=truedebug_mode=falsecolor_teal=0.0,0.5,0.5irc_log_rotation=2impColumn=truesound_al_gain=15release_context=trueskydetail=1auto_mipmaps_enabled=2use_fast_clock_work_around=trueno_world_render=falseskillgain_no_alignment=truerelease_context_on_jogl_sleep=falseskillgain_no_favor=trueloadInventoryStartup=truesettings_version=3use_anisotropic_filtering=0terrain_bump=truecustim_timer_source=1gui_skin=1color_black=0.0,0.0,0.0tiledecorations=3season_override=0color_cyan=0.0,1.0,1.0font_antialias=2use_alpha_particles=truefog_coord_src=0submit_client_data=1game_client_thread_priority=2structure_render_distance=2sound_engine=1customTimer5=-1|-1customTimer4=-1|-1customTimer3=-1|-1customTimer2=-1|-1customTimer1=-1|-1font_italian=11other_log_rotation=2enable_debugs=falselog_extra_errors=falsescreenshot_file_format=1color_grey=0.5,0.5,0.5sound_play_ambients=trueauto_run_source=0depth_clamp_enabled=1terrain_res=2stipple_enabled=truematerial_as_suffix=trueuse_nano_timer=falsehide_menu_no_target=falseplayer_guest=falsecollada_animations=2cloud_shadows=trueplayer_texture_size=2test_attach_equipment=falsefast_yield=falseevent_log_rotation=2color_purple=0.5,0.0,0.5test_mode=0color_fuchsia=1.0,0.0,1.0fps_limit_enabled=falsecolor_lime=0.0,1.0,0.0sound_play_combat=falsesound_play_emotes=falsefont_header=24update_optional=truecolor_navy_blue=0.23,0.39,1.0render_distant_terrain=falsemax_texture_size=2censor_chat=falsehigh_res_binoculars=falseuse_phobia_models=falsecolor_maroon=0.5,0.0,0.0offscreen_texture_size=1sound_play_buzz=truesound_buzzlevel=2outline_picking=truewater_detail=1compressed_textures_S3TC=falseuse_antialiasing=0display_settings=false\:false\:0\:1280\:720\:32\:-1\:false\:trueuse_fbo_reflections=truemodel_loader_thread_priority=2use_non_alpha_particles=trueshift_drag_default=10reflection_texture_size=1tile_transitions=trueocclusion_queries_enabled=2gui_opacity=3compressed_textures=falseexec_source=0item_creature_render_distance=3font_static=11use_tree_models=truetreelist_outline=truesound_doppler_enabled=falseuse_weather_particles=truekey_bindings_source=0font_monospaced=11engine_multithreaded=0save_skills_on_quit=falsecolor_yellow=1.0,1.0,0.0enable_vsync=falsecolor_royal_blue=0.23,0.39,1.0enable_shift_drag=falseplayer_texture_resolution=0use_fbo_color_picking=truemega_texture_size=2color_orange=1.0,0.5,0.0remember_password=truecolor_silver=0.75,0.75,0.75togglePushToTalk=truelocal_list_in_event=falsefont_default=11log_gl_errors=falseresident_models=falsecolor_system=0.5,1.0,0.5multidraw_enabled=2color_red=1.0,0.0,0.0eigc_enabled=falseuse_nagles_algorithm=falsesound_play_work=falseskillgain_minimum=3fps_limit=45silent_friends_update=falsecavedetail=1sound_play_weather=truekeyboard_layout=0no_brightness=falseinverse_mouse=falsefbo_enabled=2hint_texture_scaling=1sound_play_music=truefps_limit_background=30render_sun_glare=truenon_power_of_two=2hide_menu_spam_mode=truesound_play_door=falsefont_bold=11sound_footstepslevel=10model_loading_threads=1hide_menu_stop=falsecolor_green=0.08,1.0,0.08irc_notif=0sound_play_footsteps=trueglsl_enabled=2shadow_level=4fov_horizontal=80setting_timestamps=trueHere it is Share this post Link to post Share on other sites
Posted January 3, 2013 After update it was working AMAZINGLY until...........making it almost unplayable now. Help would be really appreciated Share this post Link to post Share on other sites
Posted January 8, 2013 (edited) Bump.... Is there anyone who can help with this issue? The game gets extremely bad some times, others it works fine.So yeah... The yellow is what happens when i use a mouse wheel on my forge in a mine.. This is about 30 secs of super hang in which i cant click or do anything... Edited January 8, 2013 by Xemos Share this post Link to post Share on other sites
Posted January 8, 2013 Tried dedicating a core (or three) just for the Java process and putting your other active programs on the other core(s) ?Your issue is a bit strange, since usually the opposite happens. That is to say, occasionally the load on the CPU jumps to 100% and this causes the observable "lag". What you're showing, however, is that occasionaly the load on your CPU instead dips to near 0%, indicating that it is not being used. Do you have this kind of issue when playing other games or using other intensive programs (for instance rendering images in photoshop or something that is CPU intensive for long periods of time)?Seeing also as you are on a laptop, I do know that some manufacturers throttle the CPU depending on power saving settings. Have you tried playing around with these? Try disabling any and all kind of power savings and allow the laptop to use as much power as it needs to at all times, and do you usually play plugged in or on the battery? If on the battery, try playing plugged in and see if this makes a difference. Share this post Link to post Share on other sites
Posted January 8, 2013 I found the culprit thread!.. or at least the one directly related to the hangs.. Don't know much about the game internals yet to figure out how to fix it on my own. Thread 944 normally runs 17-27% CPU and cycles around 1.9 billion.. Which pretty much screams that it is the main thread for the game, or at least the visuals + I/O to the game I would think.. During the hangs, it drops to the above screenshot. The above mentioned is with me assigning it to run on core 3 and 4 with 1 and 2 disabled.. As you can see, that didn't work. Power options are all maxed while plugged in, and I do only play plugged in. I disabled my CPU's throttle abilities. As well I forced-closed just about every intel service/process that could possibly interfere with the game ( P. S. Wurm + Intel's datasafe do not like each other.. ) As for other intensive games.. Ran Minecraft + server same time, no issues // Runs GW2 with almost all setting maxed at 20-40fps depending on particles/stuff on screen. Can run a city on Cities XL with over 600k pop ( those who own this game on older rigs can tell you that's challenging ) // Can do Skyrim near maxed. And all the aforementioned do not have these hangs. Share this post Link to post Share on other sites
Posted January 8, 2013 Then I don't know. The only thing I can think of is that the game is waiting for something at this point. If it's not the CPU being throttled by something then it's something outside of your control. This can usually be caused either by de-syncing issues with the Wurm server (in which case you would not see any kind of observable "lag", but rather a "rubber-banding" effect), or if there is an issue with multi-threading (game is waiting for something to finish on another thread). You could see if there is an option to enable/disable multi-threading but I doubt there would be.You say this occurs infrequently. I myself experience this too, but only after long periods of play and I did not try to analyse it in the detail that you have. I usually blame it on Java and restart the application and it then functions better until again after a long period of time I start to notice it. That would appear to be the symptoms of a memory leak, but since the size of the Java process does not balloon it is not it, and the memory leak that we had a few weeks ago was fixed. This rather seems more like poor multi-threading optimization in which case there is little that can be done. It's how the game was written. Wurm is not know for having particularly spectacular performance, afterall. Share this post Link to post Share on other sites
Posted January 8, 2013 The Java JDK comes with the tool jstack. jstack <pid> will list all Java threads including their stack traces. In addition it lists the thread names and the threads native id (nid=) in hex. You can map the thread from ProcessExplorer to the Java thread that way. Share this post Link to post Share on other sites
Posted January 9, 2013 (edited) Ok, so I jstacked it... Oddly enough the PID that null's itself out ( which this did confirm is the wurm main thread ) has no change when it hangs. But there is one thread that does have a change from a wait to an active phase and back to a wait when the hang is over.. It was fun as hell /sarcasm to catch it in these moments as wurm locks up the mouse when it lags.. but with very fast keyboard commands I was finally able to get it.The outputs of jstack, Left is normal game operation / right is frozen/hunghttp://www.diffchecker.com/0276LR4AAnd in the middle you will see:"Wurm 3.1.76-4544 [unstable] main thread" prio=6 tid=0x0000000008212000 nid=0x1b4c runnable [0x000000000908f000] has no change even though it is the procees that nulls out during every hangDING! just noticed something..."Attach Listener" daemon prio=10 tid=0x00000000065fc800 nid=0x13fc waiting on condition [0x0000000000000000] *Theory*The thread that changes during the hang has the highest possible priority... 10, the game itself is a 6... So something with that attach listener is acting wonky and since it is the highest priority, the java engine focuses on it and lets the lower priorities all hang till it is done doing whatever it is meant to do.*Theory*......................I wish devs actually come to the forums........ must.... hunt... in.... IRC.... Edited January 9, 2013 by Xemos Share this post Link to post Share on other sites