Pencarian

Rss Posts

 

 

 

Berita pada bulan February, 2010

Charlie Anthony: Mencoba Mode Jendela Tunggal pada GIMP

Feb 14, 2010


tanya siapa?

GIMP dengan mode jendela tunggal

Dulu sebelum saya mengenal Ubuntu, saya sering menggunakan aplikasi Paint.NET atau Adobe Photoshop (versi bajakan tentunya ^^) untuk menyunting gambar. Nah, saat saya menggunakan Ubuntu, saya merasa kurang nyaman menggunakan aplikasi penyunting gambar bawaannya, yaitu GIMP. Mengapa? Karena pengaturan jendela di GIMP agak kacau (menurut saya), tidak seperti pada Paint.NET atau Photoshop yang menggunakan gaya single window (jendela tunggal).

Nah, beberapa minggu lalu saya membaca sebuah kabar bahwa GIMP akan mengimplementasikan mode jendela tunggal pada versi 2.8 nanti. Ya, para tim pengembang dan desainer tampilan sedang melakukan diskusi intensif mengenai hal ini. Karena penasaran, akhirnya saya mencoba melakukan instalasi GIMP versi 2.7 beta dari sebuah repositori PPA milik matthaeus123.

gimp-single-2

Setelah instalasi (atau lebih tepatnya upgrade ^^) selesai, saya langsung membuka GIMP. Saya disambut dengan sebuah tampilan splash-screen GIMP baru. Hmm ? tampilannya masih tetap multi-jendela seperti GIMP 2.6. Setelah beberapa saat mencari-cari opsi atau konfigurasi untuk mengatur tampilan, akhirnya saya menemukan opsi untuk mode jendela tunggal pada menu Windows. Saya aktifkan mode tersebut dan ? VOILA! Jendela toolbar langsung merapat ke kiri, sedangkan jendela Layers dan Brushes merapat ke kanan. Gambar-gambar yang saya buka juga tertata dengan sistem tabbed. Wow! Akhirnya saya bisa menikmati mode jendela tunggal pada GIMP!! ^^

Namun seperti rilis beta pada aplikasi lain, GIMP 2.7 ini juga masih memiliki sejumlah bug. Beberapa yang saya rasakan adalah kinerja aplikasi yang sedikit lebih lambat pada mode jendela tunggal, dan pengaturan jendela yang terkadang kacau saat saya menonaktifkan mode jendela tunggal. Bagi anda yang tertarik mencobanya, pastikan anda tahu apa yang anda lakukan karena GIMP 2.7 ini bukan versi stabil. Kalau anda ingin “main aman”, silakan tunggu rilis stabil GIMP 2.8 nanti. ^^

Related Posts:


Kurnia Ramadhani: Bedanya useradd dan adduser

Feb 13, 2010


tanya siapa?

useradd dan adduser, dua-duanya adalah perintah untuk menciptakan user account di linux. Walaupun sama-sama digunakan untuk menciptakan user, namun ternyata hasil yang didapatkan berbeda. Apa bedanya? (unsure)

  1. useradd akan menciptakan user tanpa diminta untuk mengeset password user tersebut. Sedangkan adduser akan menciptakan user dengan mengeset password user tersebut sekaligus.
  2. useradd akan menciptakan user tanpa ada sebuah home directory. Sedangkan adduser akan menciptakan user sekaligus dengan home directory.
  3. useradd akan menciptakan user tanpa memberikan informasi lebih lengkap tentang user. Sedangkan adduser akan menciptakan user sekaligus dapat memberikan keterangan lebih lengkap tentang user.

Untuk lebih jelasnya bisa melihat gambar berikut:


useradd


adduser

Nah, itu sedikit perbandingan dari dua fungsi yang kegunaannya sama, tapi beda hasilnya. Mungkin ada yang bisa menambahkan info lebih detail? (goodluck)

innodb_file_per_table

Feb 10, 2010

Recently I attempted to use this parameter in one of our InnoDB table and had an experience to make a note of. So this is what actually happened.As we know InnoDB writes all the table information into one tablespace file ibdata1.Obviously this lead to a disk space issue, since the ibdata1 file grew to 90G+ and it was not possible to defragment tablespace using the Alter method (Infact is is hardly possible to do in a production environment, since it leads to a huge downtime.)So I decided to go for innodb_file_per_table on our other production database server which was being configured from scratch.Now this database had around 15 tables and it had very high inserts/deletes/updates. For few days, things went ok. But in few days, I started getting complains from development team regarding performance on the tables and queue being backed up. Apparently whenever a delete / update was made on a table, all the other tables slow down and queries started taking more than 4 to 5 secs to complete.Dug around, ran some more optimisations , flush tables but not much difference. I was able to get 660 to 661 qps tops.On digging further and discussing with developers, we figured out that innodb_file_per_table is the culprit.InnoDB uses fsync() instead of fdatasync() to flush both data and log files on non-Windows system. fdatasync() is like fsync(), except it flushes only files data, not its metadata (last modified time etc.). Therefor fsync() can cause more IO. innodb_file_per_table causes each file to be fsync()ed separately which means writes to multiple tables can’t be combined into a single IO operation. This requires InnoDB to perform higher total number of fsync() operations, leading to a IO contention in my case. Finally we had to migrate the database to another machine without innodb_file_per_table since it is also not possible to undo the existing tables for which files are created per table.As quoted in MySQL documentation : The –innodb_file_per_table option affects only table creation, not access to existing tables. If you start the server with this option, new tables are created using .ibd files, but you can still access tables that exist in the shared tablespace. If you start the server without this option, new tables are created in the shared tablespace, but you can still access any tables that were created using multiple tablespaces.Once we migrated the performance started going up , almost upto 1500 qps.So moral of the story : Better test the parameter innodb_file_per_table in a test environment, with the load higher than expected on production. I have read many blogs and many people are benefited by the use of this parametere, but as a general practice I would not favor its use. Sure it can be useful to reclaim some disk space, but I dont think it would be worth at the cost of performance.

328 Thousand Queries Per Second

Feb 10, 2010

Well, I did it again. Two days ago I improved my server’s QPS from 20k to 109k.
Today, after upgrading the MySQL version which allowed me to allocate more memory to the key buffer size (12 Gb), I managed to get it to 328k QPS.

The server isnbsp;similarnbsp;to the one from the previous post. Its a 4 year old, but quite meaty server.

The server ran triggers and stored functions that I wrote to help connect different data sets together. Basically reference another table using fairly complicated search logic, get an ID back and store it. The code was then tweaked to be as fast and light as possible.

This time I ran:

99 million row table to reference a 101 million row table
45 million row table to reference the same 101 million row table
35 million row table (same reference)
29 million row table (same reference)
28 million row table (same reference)

All at the same time..

The server hovered consistently around the 300k QPS mark, with a here and there high of 322-328k.
Also, I had to modify the code of Mtop (the application used to monitor MySQL in the picture) to ask for Queries and not Questions from MySQL after I upgraded it.

I’m very happy with the result. I can’t wait to get my hands on a stronger server to try to get a higher number, and in the meantime I will try to keep tweaking the settings on this server to hopefully get it from a load of 4 to 10.

My sessions at the MySQL Conference amp; Expo 2010

Feb 10, 2010

A preliminary schedule is now available for the MySQL Conference Expo 2010 (in Santa Clara, California, USA). I have two talks and a tutorial, currently scheduled as follows:MySQL Cluster Tutorial, Mon 08:30 on 12 Apr 2010, together with Andrew Hutchings and Andrew MorganMySQL Cluster: An Introduction, Tue 11:55 on 13 Apr 2010Connecting MySQL and Python, Tue 15:05 on 13 Apr 2010Schedule might change a bit, so I suggest keeping an eye on the conference website.And please remember: we might have changed colors a few times past 2 years, but we are still the nice and friendly people we were back in MySQL AB!

Resolving ?JBD: no valid journal superblock found? Error in Linux

Feb 10, 2010

pExt3 (Third Extended File System) is a journaling and advanced file system, used for the Linux operating system. If your system faces improper system shutdown or system crash, file system journaling empowers endues it to recover without losing data. Ext3 file system contains a number of significant data structures and Superblock is one of them. It stores critical data about file system, such as type of file system, size of file system, file system mount status, and information about all otherRead More…

Introducing percona-patches for 5.1

Feb 10, 2010

Our patches for 5.0 have attracted significant interest.? You can read about SecondLife#8217;s experience here, as well as what Flickr had to say on their blog.? The main improvements come in both performance gains and improvements to diagnostics (such as the improvements to the slow log output, and INDEX_STATISTICS).
Despite having many requests to port these patches to 5.1, we simply haven#8217;t had the bandwidth as our main focus has been on developing XtraDB and XtraBackup.? Thankfully a customer (who prefers to stay unnamed) as stood up and sponsored the work to move the patches to 5.1.
To refresh, the most interesting patches are:

Performance patches for InnoDB ?. Although many patches are present in XtraDB / InnoDB-plugin, the RC status of plugin does not allow to install it on product for some customer#8217;s policies.
Important fixes are:

- InnoDB IO threads
- Adaptive checkpointing
- Buffer pool mutex split
- Reimplemented read-write locks

Diagnostic patches.

#8211; We provide much more statistics in slow.log, i.e. execution plan, InnoDB timing, profiling info
- Userstat patch

Different patches to help with day to day usage of MySQL ?

Two new features which not available for 5.0:

In slow.log for Stored Procedure call you can see profiling for each individial query from this procedure, not just call storproc()
With userstat you can get additional THREADS_STATISTICS which show similar information to USER/CLIENT_STATISTICS but per THREAD granularity (it#8217;s useful if you have connection pool)

On this stage the patches are available only in source code, you
can get them from Launchpad https://code.launchpad.net/~percona-dev/percona-patches/5.1.43.? Binaries are also on the way, and will be ready soon. We are running intensive stress testing loads on them to provide stable and quality packages.
And to finalize are results for tpce-like benchmark, where I compare MySQL-5.1.43 vs percona-5.1.43.
The results made for TPCE configuration with 2000 customers and 300 tradedays and 16 concurrent users on our R900 server. The dataset is about 25GB, fully fitting into buffer_pool, so disk does not really matter, but data was stored on FusionIO 320GB MLC card.
On chart with results I show amount of TradeResults transactions per 10 sec during 3600 session (more is better)

As you see with percona patches you can get just about 10x improvement.
Yeah, that sounds too cool, but let me explain where difference comes from.
As I mentioned in tpce workload details the load is very SELECT intensive and these SELECTS are mainly scans by secondary keys ( not Primary Keys), so it hits problems in InnoDB rw-lock implementations and in buffer_pool mutex contention, which alredy fixed in percona-patches ( and in XtraDB and InnoDB-plugin also).
So you are welcome to try it!

Entry posted by Vadim |
2 comments
Add to: | | | |

7 distribusi linux terbaik, versi linux.com

Feb 08, 2010

Ada berbagai pendekatan untuk menjawab pertanyaan ini. Jawaban umum adalah: “salah satu dari mereka,” tapi itu tak sangat membantu jika Anda hanya mencari tempat untuk memulai.
Masalahnya adalah, tidak pernah bisa menjadi salah satu distribusi Linux terbaik bagi semua orang, karena kebutuhan setiap pengguna cenderung unik.?. Menceritakan seseorang yang sedang mencari distribusi pengantar yang baik untuk [...]

Dedy Hariyadi: Buku MySQL 5 Gratis dari Achmad Solichin

Feb 08, 2010


tanya siapa?

Kabar yang sangat menggembirakan bagi yang sering bersinggungan dengan database MySQL. Pak Achmad Solichin yang saat ini bekerja sebagai dosen dan merangkap sebagai kepala?Laboratorium Komputer Universitas Budi Luhur membuat buku dengan judul MySQL 5, dari Pemula hingga Mahir. Buku setebal 119 halaman termasuk halaman depan memberikan gambaran tentang penggunaan MySQL dari tahap dasar sampai tahap lanjutan. Buku MySQL 5, dari Pemula hingga Mahir ini terdiri dari 11 bab. Saya fikir buku ini cocok untuk anda miliki bagi yang sering menggunakan MySQL sebagai database server.
Tanpa fikir panjang saya pun langsung mengunduh buku tersebut. Sebelum mengunduh anda diwajibkan untuk mendaftar terlebih dahulu pada blog Achmad Solichin yang beralamat di http://achmatim.net. Setelah mendaftar silakan cek pada email anda, selanjutnya login menggunakan password yang dikirim pada email anda. Jika anda berhasil?login langkah selanjutnya mengunduh buku?MySQL 5, dari Pemula hingga Mahir?pada http://achmatim.net/download/21/.?Untuk lebih lengkapnya anda dapat langsung merujuk pada http://achmatim.net/2010/01/30/buku-gratis-mysql-5-dari-pemula-hingga-mahir/. Selamat belajar MySQL 5.

Instalasi Zimbra 5.0.21 pada openSUSE 11.2 32 bit Bagian Kedua

Feb 08, 2010

Catatan : Pada saat tutorial ini dipublish, Zimbra sudah merilis Zimbra Mail Server versi 5.0.22. Secara prinsip, panduan ini tetap bisa digunakan pada Zimbra 5.0.22. Silakan sampaikan melalui komentar jika ada masalah saat implementasi Zimbra 5.0.22 pada openSUSE 11.2.
Konfigurasi ini bisa diterapkan pada openSUSE 11.0, openSUSE 11.1 dan SUSE Linux Enterprise 11 dengan sedikit penyesuaian [...]