SongKong Jaikoz

SongKong and Jaikoz Music Tagger Community Forum

Best setup for Jakioz?

I am managing a large virtual environment. I would like up setup a new virtual PC just for Jaikoz/managing music. These questions go to Paul in particular, which setup is ideal for you have programmed Jaikoz (I can set it up either way)
A. Windows or Linux?
B. If Linux, 32-bit or 64-bit?
C. If Windows XP, 2K3, 2K8, or Win7? Also, 32-bit or 64-bit?
D. How many CPUs can Jaikoz use?
E. How much memory can Jaikoz use? (I read the how-tos on increasing memory)

I am currently running jaikoz on an xp virtual machine with 3gb of RAM. I modified the Jaikoz shortcut:
“C:\Program Files\Jthink\Jaikoz\jaikoz.exe” -Jmaxheap=1600000000
However I am only able to able to load around 25,000 songs at most. I have loaded my entire library in batches corrected and renamed the files. All files exist in one flat directory now. But I would like to load all of them at once and just check for duplicates, hence my curiosity for the ‘ideal’ machine for jaikoz. As I stated, I manage a virtual enviornment, I can give jaikoz whatever it needs: OS, memory, CPUs, NICs, etc…

Thanks in advance,
~Mr Wizard

It would be worth sending me your support files (Advanced/Create Support Files), because there are different types of memory errors and you should be able to load more files with this amount of memory.

I think you might be maxing out on Permanent memory, unfortunately this cannot be changed if using Jaikoz.exe, but it can be changed using Jaikoz.bat which by default has more max perm memory allocated, so try this.

If it still fails and you do want to allocate more than 3G of memory you’ll need to use a 64bit version of Java to achieve this, although there is an issue with using Java 64bit on Windows if you want it to keep it in sync with iTunes.

Some parts of Jaikoz are fully optimized for using pararllel cpus and some parts are not, but in general the two performance limiting factors are:

  1. Musicbrainz lookups which are limited to one per second by the terms and conditions.
  2. Saving chnages to your songs is limited by Disc I/O, multiple cpus dont help here.

Paul,
Thank you for the quick reply. I ran Jaikoz using the jaikoz.bat in order to utilize more Permanent memory. My Jaikoz.b is listed below:

@echo off
set CLASSPATH=
java -Xms256m -Xmx1300m -XX:MaxPermSize=256m -jar lib\jaikoz.jar -l2 -m2 -f

This time it did load all 34,856 songs and found approximately 150 duplicates. However, this is about half of my collection.
Any tips on loading the entire 70,000+ songs? I just want to check for duplicates.

My support files have been emailed to you. Thanks again for your work.

So why don’t try to use Windows 7 64 Bit and some memory :slight_smile: (8GByte ?)

with Java 64Bit
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jre-6u19-oth-JPR@CDS-CDS_Developer

and with a Jaikoz.bat
set CLASSPATH=
“C:\Program Files\Java\jre6\bin\java” -Xms500m -Xmx5000m -XX:MaxPermSize=600m -jar lib\jaikoz.jar -l2 -m2 -f

look at this thread
http://www.jthink.net/jaikozforum/posts/list/851.page

So, I just tried it for you with the above adjustments in jaikoz.bat.
Jaikoz loaded 100784 mp3-files. About the half of them with artwork and lyrics.
To load these amount of files Jaikoz needed more than 2 hours.
Memory usage (Java) was about 5,3 GByte (that’s what Sysinternals Process Explorer said) and Jaikoz was responding just fine.

(Sorry, couldn’t attach a jpg-file, cause I get an error Http Status 500: java.lang.NullPointerException from this Apache Tomcat/5.0.27 server)

I may that 64-bit setup soon. I will have to use Vista Enterprise 64-bit as we do not have licensing for Win7 yet :frowning:
Thanks for the advice everyone. It may be a week or so before I post again. I’m beginning the upgrade of our domain from 2003 to 2008 R2. Wish me luck!