Hypography Science Forums: alexander - Viewing Profile - Hypography Science Forums

Jump to content

Welcome! You are currently viewing the Hypography Science Forum as a guest. In order to participate in our science discussions, you should register now! Registration is free and you can use your Facebook login if you like.

alexander's Profile User Rating: -----

Reputation: 215054 Excellent
Group:
Moderators
Active Posts:
5,729 (1.95 per day)
Most Active In:
Computer Science and Technology (2856 posts)
Joined:
04-May 04
Profile Views:
9,056
Last Active:
User is offline Apr 05 2012 04:20 PM
Currently:
Offline

My Information

Member Title:
Dedicated Smart-ass
Age:
25 years old
Birthday:
September 3, 1986
Gender:
Male Male
Interests:
Geneally interested in everything

Contact Information

E-mail:
Click here to e-mail me
AIM:
AIM  linux4all
Website URL:
Website URL  http://atomicmaster.com

Converted

Location:
Just before 0xAA55
Interests:
Geneally interested in everything
Occupation:
Dedicated smart ass at a large high-tech company

Topics I've Started

  1. Proper Load Balancer Network Topology Diagram

    26 August 2011 - 08:05 AM

    So yeah... best network topology diagram i have produced yet... as you can see it's for a load balancer...
    Attached File  IMG_20110809_095316.jpg (87.27K)
    Number of downloads: 75
  2. My Mysql Setup

    11 July 2011 - 09:07 AM

    So recently, i've been toying a bit with MySQL, and it is amazing how a proper setup, and a proper server configuration can affect the performance of MySQL. So to give some ideas about how i am going about and setting this up and how it affected throughput, here is a brief tear-down.

    Server: Every time its a VM, 4 physical cores (no ht atm), 8GB ram, 80GB hard drive capacity.
    Setup 1 (one i'm trying to show is not very optimal):
    RHEL 5.6 stock
    MySQL 5.0 (latest release, whatever it is, 92 i think) installed from rpm
    originally stock config

    Setup 2 (one i'm working with):
    CentOS 5.6
    3 partitions, boot (ext3), / (ext3) and /var/lib/mysql (XFS)
    /var/lib/mysql is mounted with noexec,noatime,nodiratime,nobarrier
    vm.swappiness = 0
    vm.dirty* = 0
    MySQL 5.5 (rpm, same deal)
    google perf tools
    tcmalloc_minimal preloaded pre mysqld start
    not-so-stock config includes:
    # InnoDB options
    #Do not extend files too frequently
    innodb_autoextend_increment = 20
    # Use one file per table
    innodb_file_per_table
    # Buffer pool size
    innodb_buffer_pool_size           = 5G
    innodb_additional_mem_pool_size   = 32M
    # Transaction log location and sizes
    innodb_log_files_in_group         = 4
    innodb_log_file_size             = 256M 
    innodb_log_buffer_size            = 4M
    # Percentage of unwritten dirty pages not to exceed
    innodb_max_dirty_pages_pct        = 80
    # Transaction commit policy
    innodb_flush_log_at_trx_commit    = 2
    # Timeout to wait for a lock before rolling back a transaction
    innodb_lock_wait_timeout          = 50
    # Flush method
    innodb_flush_method               = O_DIRECT
    # Number of concurrent threads to run
    innodb_thread_concurrency         = 8
    # Autoinc lock mode
    innodb_autoinc_lock_mode = 1
    # Enable fast innodb shutdown
    innodb_fast_shutdown              = 0
    # Dont delay insert, update and delete operations when purge
    # operations are lagging
    innodb_max_purge_lag              = 0
    


    So, what did i try.
    I used mysqlslap to test mysql io performance, so i ran it with a concurrency of 1, for 100000 queries write-centric, the results of the first run were vastly different. It took over 40 sec on the stock setup, so i fixed that by changing the setup to resemble what i am using in 5.5, here are the results:
    Example of command line: mysqlslap --concurrency=1 --iterations=1 --engine=innodb --auto-generate-sql --auto-generate-sql-load-type=write --number-of-queries=100000 -u [user] -h [ip] --password=[password]
    stock:

    Quote

    Running for engine innodb
    Average number of seconds to run all queries: 26.058 seconds
    Minimum number of seconds to run all queries: 26.058 seconds
    Maximum number of seconds to run all queries: 26.058 seconds
    Number of clients running queries: 1
    Average number of queries per client: 100000


    mine:

    Quote

    Benchmark
    Running for engine innodb
    Average number of seconds to run all queries: 24.931 seconds
    Minimum number of seconds to run all queries: 24.931 seconds
    Maximum number of seconds to run all queries: 24.931 seconds
    Number of clients running queries: 1
    Average number of queries per client: 100000


    So i increased concurency to see how they bare:
    stock:

    Quote

    Benchmark
    Running for engine innodb
    Average number of seconds to run all queries: 9.176 seconds
    Minimum number of seconds to run all queries: 9.176 seconds
    Maximum number of seconds to run all queries: 9.176 seconds
    Number of clients running queries: 10
    Average number of queries per client: 10000

    Benchmark
    Running for engine innodb
    Average number of seconds to run all queries: 9.449 seconds
    Minimum number of seconds to run all queries: 9.449 seconds
    Maximum number of seconds to run all queries: 9.449 seconds
    Number of clients running queries: 100
    Average number of queries per client: 1000

    Benchmark
    Running for engine innodb
    Average number of seconds to run all queries: 91.794 seconds
    Minimum number of seconds to run all queries: 91.794 seconds
    Maximum number of seconds to run all queries: 91.794 seconds
    Number of clients running queries: 1000
    Average number of queries per client: 100

    mysqlslap: Cannot drop database 'mysqlslap' ERROR : MySQL server has gone away

    it doesn't crash, but queries start timing out, so you get a "server unresponsive thing here" the mysql server doesn't actually crash

    not-so-stock:

    Quote

    Benchmark
    Running for engine innodb
    Average number of seconds to run all queries: 5.613 seconds
    Minimum number of seconds to run all queries: 5.613 seconds
    Maximum number of seconds to run all queries: 5.613 seconds
    Number of clients running queries: 10
    Average number of queries per client: 10000

    Benchmark
    Running for engine innodb
    Average number of seconds to run all queries: 5.250 seconds
    Minimum number of seconds to run all queries: 5.250 seconds
    Maximum number of seconds to run all queries: 5.250 seconds
    Number of clients running queries: 100
    Average number of queries per client: 1000

    Benchmark
    Running for engine innodb
    Average number of seconds to run all queries: 6.030 seconds
    Minimum number of seconds to run all queries: 6.030 seconds
    Maximum number of seconds to run all queries: 6.030 seconds
    Number of clients running queries: 1000
    Average number of queries per client: 100


    no conclusions yet, though you can see, that server setup and configuration does matter and can gain significant performance on the same hardware. Now, i'm going to write a script with a battery of tests and attempt to brake both setups, and we'll see how both of these servers bare the weight, write though, as you can see, there is a significant difference in performance already :) I also want to monitor io, threads, and stuff like that while its all running...

    For now, this was the first part of a teaser...
  3. Working On A New Open-Source Php Framework

    07 July 2011 - 06:14 AM

    So if i haven't been active, it's been in part because i have been readying something for a first release. It's an open-source light-weight PHP framework. It's based on a reflection API, and it does some magic stuff, like it will automatically generate a WSDL (SOAP) and JSON APIs to your code, using your comments for documentation. It's neat, it's light and it will be beta released shortly (within a couple of weeks).

    If you are interested, and have time, i have some neat ideas about the framework, and it would be nice to see other people using it (though atm i dont have available examples of how to use it, i haven't written new/open ones, but i can explain; it's because the code i wrote for it (lots and lots of it) is proprietary (product of a company i used to work for))

    Anyways, i'll explain further if there is any interest...
  4. You Know You Are Talking To A Geek When...

    14 June 2011 - 04:51 AM

    So we have had a similar discussion a while back titled "you know you are a geek when", but how do you know for sure if you are talking to a geek.

    I'll start off:

    You know you are talking to a geek when they have a nerdgasm when you tell them that all you are trying to do is setup an ipsec tunnel over mpls on an ospf network between two nssa asbr routers such that this traffic falls into your cs5 qos domain in the 4th queue at 3% max...

    You know you are talking to a geek when the term "double D" is met with a perplexing look pondering how one can have a two-sided die...

    You know you are talking to a geek when the term "trial and terror" is both endearing and relaxing...

    You know you are talking to a geek when they solve a tedious data entry problem with a 15 line script and threaten to replace you with it...

    You know you are talking to a geek when the conversation starts with "So i was fuzzing against [insert any application here] last night"...
  5. It Poll

    10 June 2011 - 08:20 AM

    So wondering what kind of a relationship you have with your company's IT. If you are IT, i know how you feel about people, but if you have other nerdy groups in your organization, how do you feel about their requests for access to stuff you manage? Do they get access?

Comments

  • 7 Pages +
  • 1
  • 2
  • 3
  • Last »
  1. Photo

    alexander 

    26 Aug 2011 - 08:02
    Yep, i think i have experimentally shown that i'm a geek... sigh... again
  2. Photo

    alexander 

    26 Aug 2011 - 07:50
    Jay, i just made it public, screw it, you can view now for sure :)
  3. Photo

    Jay-qu 

    06 Aug 2011 - 01:42
    hmm I can't access the album..
  4. Photo

    alexander 

    07 Jul 2011 - 05:55
    http://scienceforums.com/gallery/album/172-the-traveling-package/ :)
  5. Photo

    alexander 

    07 Jun 2011 - 06:07
    Sorry, I've been so busy lately, I haven't had a lot of time for anything, and i have some pictures for you guys (and i gotta send that packet on). Lots of things have happened, first a friend of mine was murdered, then i switched jobs, so i was running around crazy for a month, and now that i am finally starting to settle in here, i can start coming out and playing again :)
  6. Photo

    Turtle 

    18 Mar 2011 - 21:13
    can alex come out & play?
  7. Photo

    DFINITLYDISTRUBD 

    11 Mar 2011 - 21:02
    ya follo
    wer I ben wer I go
    m I ere u dunnu
    I'z 2 fas u 2 slo
    end uv rime now I go
  8. Photo

    DFINITLYDISTRUBD 

    11 Mar 2011 - 20:58
    I wuz ere
  9. Photo

    DFINITLYDISTRUBD 

    01 Nov 2010 - 16:24
    bwaaaaaaaaaaaaahp....waaaaaaawwwwwwaaaaaaahp....BANG!!!!!....waaaaaaaaaaaaaaaaaaaaaaaaaaahhhhhwaaaaaaaaaaaaaaaaaa.errrrrrrrrrrrrr,,,,waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee.....errrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr....[phew!] HI!
  10. Photo

    DFINITLYDISTRUBD 

    02 Oct 2010 - 12:37
    Hmmm..... no edit function here.........[sigh].....no pic add type thing here either.........
    [quote][image professor]thats weird, everything seems to work here,[quote]
    lolz......
    sorry....
    had too...
    oh well....
  11. Photo

    DFINITLYDISTRUBD 

    02 Oct 2010 - 12:31
    http://scienceforums.com/uploads/profile/photo-thumb-459.gif[thats weird, everything seems to work here,]
  12. Photo

    alexander 

    14 Sep 2010 - 09:14
    Hey guys i'm back to posting :) at least until this interface gets too annoying
  13. Photo

    Southtown 

    03 Sep 2010 - 18:40
    Happy birthday!! :beer:
  14. Photo

    Moontanman 

    04 May 2010 - 03:04
    WOW great lookin bike dude, i used to ride dirt bikes many many moons ago. I think stunt bikin is beyond me these days but I'd love to have a FJR 1300
  15. Photo

    Moontanman 

    03 May 2010 - 18:42
    I went to the yamaha shop over the weekend and drooled all over one of the new super V-Max's It's take em a week to wipe it all off it! I take nature pics from time to time now days, i will post more soon!
  • 7 Pages +
  • 1
  • 2
  • 3
  • Last »

View our Science Quizzes | Science links. About the Hypography Science Forums

Friends

We recommend these stellar sites:

PC Help Forum

ATL - Atlanta Computer Repair

Sponsors

Hypography?

Hypography [n.]: A combination of "hyperlink" and "bibliography" - ie, a list of links to electronic documents. Comparable to discography and bibliography, but not cartography.

When we launched in May 2000, we wanted to create a site to share science-related content of all kinds on the web. As time passed, our site turned into a pure science forum with lots of cool people.

So we kept the name Hypography and the cool science forum community - and aim to be a friendly place for discussion of science topics of all kinds.