Archive for October, 2004

2004-10-31 22:28

Sunday, October 31st, 2004

The Sunday is a lazy day …

Nothing serious, we had breakfast at “Divaka”, I went to my hairdresser to get my split hairs cut, then I took Velin from his office and we walked to the center, where with Lora, Albert and Fozzie got dinner again at “Divaka” (and worked on a plan to kidnap the waitress, who we all liked (but nobody was carrying a bag, because of a lack of planning)).

I feel dizzy for third day in a row, I wonder if I’m getting sick again, or it’s just from the hard punching of the bag and the wall behind it.

I’ll probably write the documentation of the video recording tomorrow, I’m waiting for Rumen to send me the commands that are written in a file on his laptop, I don’t feel like remembering them.

2004-10-31 22:22

Sunday, October 31st, 2004

Неделята е мързелив ден…

Нищо особено, закусихме в “Дивака”, аз минах най-накрая през фризьора да ми изреже цъфтежите, след което взех Велин от офиса му и го разходих до центъра, където пак в “Дивака” с Лора, Алберт и Fozzie вечеряхме (и се обмисляше план за отвличане на сервитьорката, която ни хареса на всички (ама никой не си носеше чувал, ей това е липса на планиране)).

На мен за трети ден подред ми се вие свят, чудя се дали не се разболявам пак, или просто блъскам твърде силно по крушата и стената зад нея.

Нещата за видеото ще напиша най-вероятно утре, чакам Румен да ми прати командите, които имам записани на laptop-а му, че не ми се възстановяват по памет.

2004-10-30 21:43

Saturday, October 30th, 2004

Yesterday I didn’t blog, because I felt sleepy in the afternoon, and fell asleep around 6… I woke up for a while around 23, because the alarm of one apartment from the building across the street was screaming for about half a hour, but then I fell asleep again. I can’t remember what I did that day :)

In the morning me and Velin started tormenting ftp.uni-sofia.bg – we tried to install Boyan Krosnov’s traffic stats system, but it turned out that it wasn’t working with the version of perl there (5.8, marla uses 5.6) (Boyan, the problem is that the things that go out from XML::Dumper can’t be imported for some reason, if you have the time, call on ICQ). This information will be handy when I decide to upgrade marla from woody to sarge.

Nothing more interesting – I’m reading Wikipedia and unable to stop. I’m apathetic, and have to prepare myself for the Tuesday’s lecture, to write something on the way that I did the live broadcast of the OpenFest, and to see what will I do with one shared storage…

2004-10-30 21:38

Saturday, October 30th, 2004

Вчера не съм блогвал, понеже следобяда ми се доспа, и заспах около 6… Събудих се за малко около 23, понеже алармата на един апартамент от отсрещния блок рева около час, но после пак заспах. Не помня точно какво правих :)

Сутринта с Велин се хванахме да тормозим ftp.uni-sofia.bg – опитахме се да инсталираме системата на Боян Кроснов за отчитане на трафик, но се оказа, че не се разбира с версията на perl там (5.8, а marla е с 5.6) (Бояне, проблема е, че това, което вадиш чрез XML::Dumper, после не може да се import-не, ако имаш време, обади се на ICQ). Информацията ще ми е бая полезна, като реша да upgrade-вам marla от woody на sarge.

Иначе нищо интересно – чета разни работи от Wikipedia и не мога да се спра. Хванала ме е апатията, а трябва да се подготвя за лекцията във вторник, да напиша нещо кратко по темата как точно правих излъчването на OpenFest, и да видя какво ще правим със един shared storage…

2004-10-29 15:34

Friday, October 29th, 2004

Some technical things, that I wanted to write down…

I did a reconfiguration of the 3ware driver of the controller in marla – I lowered TW_MAX_CMDS_PER_LUN down to 64. The reason was a discussion at linux-kernel, where the explanation was that the queue of the block layer can hold up to 128 requests, and the one of the driver by default is 256, so the kernel can’t do any reordering and optimizations, the cotroller swallows all (and it can’t optimize them because it doesn’t have enough information, and can screw the things up). The result is a lot more responsive machine, and loadavg rarely going over 3-4.

There’s a patch, that makes this parameter controllable through sysctl, but I didn’t want to meddle in the kernel too much, I prefer to stick the the vanilla one. If I have the time, I could try to lower it to 32, but before that I’ll have to check how many requests can the controller process effectively in parallel.

(some additional information – the controller is 3ware Escalade 7500-8, with one RAID5 array on it, consisting of 4 200GB drives)

2004-10-29 15:21

Friday, October 29th, 2004

Няколко технически неща, които се каня да напиша от известно време…

Направих една пренастройка в 3ware драйвера на контролера на marla – намалих TW_MAX_CMDS_PER_LUN на 64. Причината беше една дискусия в linux-kernel, в която се обясняваше, че големината на опашката на block layer-а е 128, а на тоя драйвер по подразбиране е 256, така че самото ядро изобщо не може да направи някакво преподреждане и оптимизация, контролера гълта всичко (а той самия не може да ги оптимизира, понеже няма достатъчно информация, и може да омаже нещо). Резултатът е една доста по-нормално отговаряща машина, и loadavg рядко се качва над 3-4.

Има и patch, който прави този параметър настройваем през sysctl, но не ми се бърникаше сериозно по ядрото, предпочитам да се придържам към vanilla kernel-а. Ако намеря време, мога да пробвам да смъкна параметъра на 32, но преди това трябва да си изясня колко заявки може да обработва паралелно и ефективни контролера.

(малко допълнителна информация – контролера е 3ware Escalade 7500-8, с един RAID5 масив на него, от 4 диска по 200GB)

2004-10-29 01:05

Friday, October 29th, 2004

Again a quirky day…

Today I got my boxing bag, the gloves, bandages, etc,etc … It’s a bit strange when your consultant is ex-professional kickboxer (who is also your uncle) – I had some problems with the carrying (good thing that we didn’t get the big boxing bag, I tried to pick it up, and my shoulders started to pop). I just have to mount it, but this needs planning.

Today’s network security lecture was almost a failure. Today it was planned for desync and flipflop to speak about 802.11*, CAN/LIN, etc, but they weren’t here, so at the entrance of FMI I found out that I’ll have to do this lecture, so I printed my plan at Shiyachki’s room, and entered the hall almost on time. Of course, it was horrible – I was still in the high rpms because of the busy day, I was speaking too fast, got confused a lot, confused the students ( next time I’ll probably reexplain the netmasks), looks like that without preparation it just doesn’t work (at least I should’ve drank a valerianae)… I can work in such situations , if it’s systems or machine related, but not with people…

Before the next lecture I’ll find someone to practice on, and after that I’ll tell it to the students. I have to talk about TCP, and there are some bad moments there.

2004-10-29 00:58

Friday, October 29th, 2004

Пак сбъркан ден…

Днес си взех боксовия чувал, ръкавици, бинтове, и т.н., и т.н. Това консултант да ти е бивш професионален кикбоксьор (който и ти е чичо) на моменти си е чак проклятие – аз лично се озорих с носенето (добре, че не взехме големия чувал, един път се опитах да го вдигна, и ми изпукаха раменете). Остава монтирането, но то има нужда от планиране.

Днешната лекция по мрежова сигурност беше бая сериозна издънка. По принцип трябваше да говорят desync и флопа за 802.11*, CAN/LIN и подобни неща, но ги нямаше, та се получи следната ситуация – на входа на ФМИ в 19:07 разбрах, че аз трябва да си водя следващата лекция, та набързо отпечатах плана си за TCP/IP при Шиячки, и нахълтах точно навреме в залата, за да говоря. Разбира се, получи се ужасно – бях на високи обороти още от целия ден, говорех бързо, обърквах се на места, обърках и студентите за някои работи (следващия път вероятно пак ще обясня netmask-ите), изобщо без да съм се подготвил не се получава (поне да бях изпил един-два валериана, да не ми е толкова изнервено)… С такава ситуация мога да се справя, ако е някакъв проблем по машини или системи, но не и с хора …

За следващия път ще си намеря някой, на който първо да разкажа веднъж лекцията, и след това да я обяснявам на студентите. И без това имам да говоря за TCP, където има някои сложни моменти.

2004-10-28 00:32

Thursday, October 28th, 2004

I must really be careful what I’m saying. A few moments ago there was a (not really strong) earthquake, and I got reminded that on my last lecture I mentioned that it was about time to happen…

I want to apologize, I didn’t mean it…

Here’s a link.

2004-10-28 00:30

Thursday, October 28th, 2004

Трябва да внимавам какво говоря. Преди малко имаше (не особено силно) земетресение, и ми напомниха, че на последната си лекция споменах, че е крайно време да се случи…

Извинявам се на всички, аз така без да искам …

Ето и линк .

2004-10-27 23:35

Wednesday, October 27th, 2004

Today we fixed the problem at the project – the engineer came, changed the firmware of the device, and everything started working (now it gets ~11 seconds downtime). Now we’ll have to finish the full tests, with cards and terminals, and the project will be complete. I love when things are working :)

At FSA-members there is a discussion about a server – we have it, the problem is to find what to use it for, and where to place it. That’s not made easier by the size (8U) and the weight (70 kg)…

I fixed the 3ware driver at marla, following a discussion at linux-kernel, let’s see how will it behave.

In the evening me, my brother and my father celebrated my father’s birthday – now he’s 50 years old. We were at a quiet and calm place upstairs in “Tukan”, drank a jug of wine, talked, made some plans, and then I walked him to the taxi. The present was the book with the diary of gen. Nikola Mihov, and the last album of Kultur Shock, I think that he’ll appreciate them :)

One of the most important things that I’ve learned from him is that you have to take responsibility and do the job – when there is a problem not to ask “who’s guilty”, but “how can it be fixed” (or not to ask, and just fix it). A lot of people are doing exactly the opposite, and you can’t do any work with them…

Tomorrow I’ll be getting a better punching bag, and normal gloves, after which the hanging on the celling will follow (the neighbors surely will hear it :) ).

2004-10-27 23:20

Wednesday, October 27th, 2004

Днес решихме проблема в проекта – просто дойде инженера, смени firmware на устройството, и всичко тръгна (последно – ~11 секунди downtime). Сега останаха пълните тестове, с карти и терминали, и може да броим проекта за завършен. Обичам нещата да работят :)

В FSA-members тече обсъждане на един сървър – имаме го, въпроса е да му се намери употреба и къде да го сложим. Задачата изобщо не се улеснява от това, че тежи около 70 килограма, и е 8U…

Оправих нещо по marla по 3ware драйвера, следвайки няколко обяснения в linux-kernel, да видим как ще се държи.

Вечерта аз, брат ми и баща ми отпразнувахме рождения ден на баща ми – направи 50 години. Бяхме на тихо и спокойно горе в “Тукан”, изпихме си една каничка вино, поговорихме си, направихме малко планове за действие, и после го изпратих. Подарих му книжката с дневника на ген. Никола Михов, и новия албум на Kultur Shock, мисля, че ще ги оцени :)

Едно от много важните неща, които съм научил от него е, че трябва да се поема отговорност и да се върши работата – при проблем да не питам ‘кой е виновен’, а ‘как може да се реши проблема’ (или даже да не питам, а да го решавам). При много хора е обратното, и с тях нищо не може да се свърши…

Утре ще си вземам хубава боксова круша, и нормални ръкавици, след което ще последва окачане на тавана (няма само съседите да ми бучат :) ).

2004-10-26 23:10

Tuesday, October 26th, 2004

The rest is something nice, if it isn’t interrupted…

Around noon I got a call to tell me that tomorrow the engineer that’s going to fix the problem with the retarded device at the project is coming. Tomorrow I’ll have to get up around 10…

At some moment I remembered, that tomorrow my father has a birthday, do I went out to pick a present for him – tomorrow he’ll be in Sofia, and we’ll celebrate it somewhere quietly.

In the evening followed the network security lecture, Pentchev was speaking about PPP, he was late a bit, and had to prolong it with 10 minutes. There was another problem with his X on the FreeBSD, it denied to communicate with the projector (not like the projector at IEC, where we had no such problems), so he had to show the presentation under windows, where he had some CSS problems.

I finished the uploading of the presentations, and IMO there aren’t a lot more photos to be uploaded at the OpenFest 2004 archive. It’s definitely generating a lot of traffic on marla.

I’ll have to find someone to transcribe my lecture from OpenFest, I can’t stand listening to myself. Some day I’ll gather some strength, will watch all the records, and do something about it.

2004-10-26 23:01

Tuesday, October 26th, 2004

Почивката е хубаво нещо, ако не ти я прекъсват…

Около обяд ми се обадиха да ми кажат, че утре пристига инженера, който трябва да реши проблема с малоумното устройство в проекта. Утре трябва да стана около 10…

По някое време се сетих, че утре баща ми има рожден ден, и излязох да му взема подарък – утре ще е в София, и ще го отпразнуваме тихо и спокойно.

Вечерта беше лекцията по мрежова сигурност, Пенчев говори за PPP, закъсня леко, и му се наложи да я удължи с около 10 минути. Друг проблем беше, че X-а под FreeBSD не се разбра с проектора (за разлика от проектора в IEC, където такива проблеми нямаше), та се наложи да показва презентацията си под windows, където имаше и някакви проблеми с CSS-а.

Довърших качването на презентациите, а като гледам, не останаха да се качват и снимки от много хора в архива на OpenFest 2004. Определено генерират бая трафик на marla.

Трябва да намеря някой да ми транскрибира лекцията от OpenFest, аз лично не мога да се трая, като се слушам. Един ден ще събера желание, ще си изгледам записите, и ще реша какво да направя по въпроса…

2004-10-25 23:41

Monday, October 25th, 2004

It’s nice to get up in 12…

Today I fixed the opefest’s archive – I put together the video, uploaded the presentations and photos, and if someone’s interested, it’s available at openfest.org/archive/2004/. I fought for half a hour to pull out the audio stream from the AVI files, but couldn’t find a good enough instrument (only ffmpeg has a clear way, and it gave SIGFPE (probably because libmp3lame is missing, but I’m not in the mood to tackle that), if someone knows a small and working program, drop me a line).

The video editing was really simple, with

mencoder -forceidx -ovc copy -oac copy [-ss beg] [-frames count] -o OUTPUT.avi INPUT.avi

, I just looked what was in each file, and pulled it out. I haven’t glued them together, I know there will be gaps, no need to make them more.

This week I’ll probably work on a shared storage, which will be demonstrated at BAIT expo, and I’m thinking about the cluster I should make…

2004-10-25 23:35

Monday, October 25th, 2004

Хубаво е да станеш в 12…

Днес оправих архива на OpenFest – оформих видеото, качих колкото имах презентации и снимки, и който се интересува, да гледа на openfest.org/archive/2004/. Борих се половин час да изтръгна audio потоците от видео файловете, ама не намерих подходящ инструмент (само ffmpeg май има чист начин, и той даде SIGFPE (сигурно е от липсата на libmp3lame, но не ми се занимава с това), ако някой се сеща за кратко и работещо програмче, да се обади).

Оформянето на видео файловете стана адски просто,с

mencoder -forceidx -ovc copy -oac copy [-ss beg] [-frames count] -o OUTPUT.avi INPUT.avi

, като просто прегледах в кой файл какво има, и ги извадих. Не съм налепял парчетата, така и така ще има дупки.

Аз тази седмица вероятно ще си играя с един shared storage, който ще бъде демонстрира на BAIT expo, и мисля какъв клъстер да направя…

2004-10-25 13:43

Monday, October 25th, 2004

To see what did OpenFest do to me, take a look at this и this photos…

2004-10-25 13:42

Monday, October 25th, 2004

За да се види докъде ме докара OpenFest, вижте тази и тази снимки…

2004-10-24 23:16

Sunday, October 24th, 2004

It’s over.

In the morning I got up easier than yesterday, noticed Yovko and Mishinev before they called me (they asked me if I had an IDS that tracks who passes in front of the building), we went to pick up Rosi, and then we went to IEC. There for a record time we unpacked and prepared the equipment, then we started to swear at Rumen, who was drinking until 4 with some people, and was late – and we were using his laptop to do the live feed.

He came almost on time, and we were able to start with a 2-3 minutes delay, by the standard program (I again won’t go into details on the lectures, I wasn’t listening enough). In the beginning the inet connection was OK, but then started to fail, and at some moment it wasn’t able to push more than half a mbps traffic, so there wasn’t any way to to make the transmission. In the end I made dvgrab’s buffer to be able to hold up to ~62 seconds, and talked to the local people, who spoke with 0rbitel. Next year we definitely have to fix the bandwidth problem.

At least the archive was working good, and today weren’t any serious screw-ups, except that there might be some missing parts from Nedyalkov’s lecture (which is too bad, the lecture was great). The raw archive can be found at vasil.ludost.net/raw/, but I have to warn you – it’s really raw, can be watched with mplayer -forceidx (or if you fix it with something similar), there are a lot of interruptions, in short – it’s no good :) At the same url there’s a raw archive of the presentations, but you’d better get them from http://openfest.org/presentations/2004/ (and still there are a few missing).

There were enough screw-ups at the fest… Bogomil Shopov had made his presentation with windows, and in some stupid flash format, the resulting file was a .exe (if it was something normal, I would’ve transferred it to my laptop). I think that some people could’ve decided to lynch him, if they’ve seen what was he using (and probably I would’ve helped them :) ). Another really funny moment was when Sceant (or however it’s spelled) connected their laptop to the projector, to show the winner, pressed the key to display it, and then their video output died, leading to a clear blue screen on the projector. There was a silence of about half second, followed by thundering laughter…

Another screw-up was the whole BSD conference, we should’ve attached some nazi to them, to push and pull them together, to get organized, they were able do well only two lectures – the one for the translation of the BSD documentation by Dimiter Vasilev, and the one by Peter Pentchev about the ports collection. If tomorrow we’re combining again, we’ll apply a lot of control over them… At least Pentchev saved them, by making a 1h20min lecture, and by filling his hall :)
(and I think that Zhoro will speak a lot worse about them than me)

The lecture about Biona by Kolyo Kolev should be noted – their stuff will greatly help the transition of the accountants’ machines from some good-for-nothing OSes.

I have to note the appearance of 4 people from Sloboden Softver – Macedonia (or were they more?), who did a short presentation of the events that are happening there, and it was interesting, with , with a lot of photos :) They’re thinking about a similar event there around December, so maybe we’ll be able to go there to talk, to do some exchange, so to say :)

And a special thanks to the saviors of the day – SSH and the X protocol :) First on the laptop that was used for the first presentation at the BSDCon there wasn’t openoffice, so I made them an account on mine, and let them run it from there. After that the Macedonians wanted to do some changes to their presentation, and the only free machine was the one that we used to send the video feed, which was overloaded, so I again connected to woland, and ran ooimpress from there. And the third one was again with openoffice, Nedyalkov didn’t have the necessary fonts on his linux installation on his laptop, so we again used my openoffice. It it wasn’t for this technology, we would’ve had some great problems.

So we finished with the lecture about linux-bg (there I got convinced that the people see marla as the bulgarian sourceforge, and there are things that I haven’t had the slightest idea (the CVS repository of the bulgarian KDE translation?). I was really surprised) and we closed with a few words from Yovko, and the ill-fated Sceant stuff (which was able to show some winners :) ). Then we gathered the equipment, and did an autopsy of the fest for 30-40 minutes, to see what could’ve been better. Then we transported the equipment where necessary, and had some dinner at “Krivoto”, where we talked a bit. I stayed until 20:00, and then I went home, punched the boxing bag for a while, and then I uploaded the presentations from my laptop, and did some more useful stuff.

Now I’ll be going to sleep, and tomorrow I’m not going to get up before 12. If the builders at the other side of the street wake me up, I’ll dress up in some OpenFest t-shirt, and will go there to tell them that I’m from the open eye religious cult, and will call down curses on them.

2004-10-24 22:41

Sunday, October 24th, 2004

Свърши.

Сутринта станах доста по-лесно, отколкото вчера, усетих Йовко и Мишинев преди да ми звъннат (питаха ме да не би да имам IDS, дето да дебне кой минава отдолу), минахме да вземем Роси, и се изсипахме в IEC. Там за рекордно време разпакетирахме и подготвихме техниката, след което почнах да ругая Румен, който до 4 беше пил с разни хора, и закъсняваше, а с неговия laptop правехме предаването.

Той в крайна сметка се появи почти на време, и с 2-3 минути закъснение започнахме по стандартния ред (пак няма да говоря подробно за лекции, не слушах много). В началото линията беше добре, но после взе да се скапва, и от един момент нататъка не даваше повече от половин mbps трафик, та изобщо не можеше да става предаване. В крайна сметка проблема се реши, като вдигнах буфера на dvgrab-а до ~62 секунди, и като говорих с локалните хора, които мърмориха на 0рбител. Догодина определено трябва да си решим проблема с bandwidth-а.

Поне архива работеше в общи линии, и днес нямаше сериозни издънки, освен това, че вероятно липсва част от лекцията на Недялков (което е жалко, много добре беше се получила). Необработения архив може да се намери на vasil.ludost.net/raw/, но да предупредя – наистина е необработен, може да се гледа с mplayer -forceidx само (или ако си го оправите с нещо подобно), има прекъсвания на доста места, и като цяло – не е за пред хора :) На същото URL има и raw архив с презентации, но по-добре да ги видите на http://openfest.org/presentations/2004/ (няколко още липсват).

Издънки на самия фест имаше достатъчно… Богомил Шопов си направи презентацията с windows, да не говорим, че беше я направил на някакъв гнусен flash, и беше едно .exe (иначе щях да го прехвърля на моя laptop). Предполагам, че някои хора можеше да решат да го линчуват, ако се беше видяло какво ползва (и вероятно и аз щях да помагам :) ). Друг адски смешен момент беше, когато Sceant (или както там се пишеше) закачиха laptop-а си към проектора, за да покажат кой печели, натиснаха клавиша за изтегляне, и видео изхода им умря, водейки до това проектора да покаже един чист син екран. Последва мълчание от около половин секунда, последвано от бурен смях…

Друг гаф беше цялата BSD конференция, май трябваше още от преди една седмица да им прикрепим някой изрод, за да ги ръчка, и да се организират, успяха да направят добре само две лекции – тази за превода на BSD документация, на Димитър Василев, и тази на Петър Пенчев за ports colletion. Ако догодина комбинираме събитията, вероятно ще им се приложи строг контрол… Поне Пенчев успя да спаси цялата работа, говори час и 20 минути, и си напълни залата :)
(Предполагам, че Жоро ще ги наругае бая повече от мене)

Струва си да се отбележи лекцията за Биона на Кольо Колев – техните неща доста ще помогнат за миграцията на машините на счетоводителите от разни некадърни операционни системи.

Също така трябва да отбележа и появата на 4 човека от Слободен Софтвер – Македония (или бяха повече?), които изнесоха една кратка презентация какво става при тях, беше доста интересна, и с бая снимки :) Те смятат да организират някакво събитие декември месец, та може да идем там да изнесем и ние една лекция, на разменни начала, така да се каже :)

И една специална благодарност към спасителите на деня – SSH и X протокола :) Първо на laptop-а, от който пускаха първата презентация на BSDcon-а нямаше openoffice, та аз им направих account на моя, и им го пуснах оттам. После македонците искаха да си изредактират презентацията, ама единствената свободна машина беше тази, която пращаше feed-а, и бая се беше натоварила, та за това пак се свързах до woland, и им пуснах ooimpress оттам. И третото беше пак с openoffice, Недялков нямаше шрифтове на linux-а, който имаше инсталиран на laptop-а, и за това пак ползва моя openoffice. Изобщо ако не беше тая технология, щяхме да имаме страшни проблеми.

В общи линии завършихме с лекцията за linux-bg (на нея се убедих, че хората считат marla за българския sourceforge, и там има неща, за които не съм подозирал ( CVS-а на превода на KDE?). шашнат бях.) и закрихме с няколко думи от Йовко и злополучната томбола (от която все пак изтеглиха печеливши :) ). След това събрахме техниката, и за около 30-40 минути направихме аутопсия на феста, да видим какво можеше да е по-добре. След това разнесохме техниката дето трябва, и седнахме в “Кривото” за малко ядене, и разговори. Аз стоях до около 20:00, след което се прибрах, блъсках крушата известно време, след което качих презентациите, които имаше на laptop-а ми, и свърших няколко подобни полезни неща.

Сега мисля да спя, и утре да не ставам по-рано от 12. Ако строителите отсреща ме събудят, ще облека някоя OpenFest тениска, ще ида, ще им кажа, че съм от сектата на отвореното око, и ще ги прокълна.